Most bearings like the one in the pic are shrunk fit into the shaft. Meaning you have to heat the bearing and slide it in to the shaft and when it cools down it will shrink tight to the shaft. To remove it after it has disintegrated, you will need bearing separator in conjunction with a bearing puller. Use a lot penetrating oil before starting the pulling. In addition, you can also use heat from a torch while pulling. Hopefully it is not frozen to the shaft, otherwise as a last resort you will need a grinder with a metal cutting wheel to make two slices opposite each side. But do not cut all the way thru instead just enough to break it into two pieces using a hammer and a chisel. Another option is to use a hydraulic press in conjunction with the bearing separator. If you do not have the tools or equipment to do this, you can take the unit to a machine shop and they can press it out for you on both the outer and inner race of the bearing. The cost shouldn't be as much as buying all the equipment for taking it off.
As for the bearing outer race, usually a chisel or flat face punch and a hammer will push it out. Again a lot of penetrating oil is recommended for an overnight soak. At this point while you have the entire unit out, every bearing in the unit should be replaced including those on the U-joints.