The uni-ball cup has a machined-in lip on one side and a snap ring groove on the other. You’ll drive the bearing out from the lip side, and drive the new one in from the snap ring side. For removal, you’ll need a driver slug (or a socket as shown here) that will clear the machined lip and contact the bearing. Note that this socket contacts the inner ball. Not ideal for a new bearing, but it doesn’t matter on a worn-out bearing that’s getting replaced.