The hub is usually supported by the drum when pressing out studs

Sometimes its difficult removing a hub from the drum. Even after you remove the rivets