It used to be much easier to squeeze all that toothpaste from the tube when they were metal - now that most toothpaste comes in a plastic tube that springs back to its original shape, it can be a chore.
Use a jumbo paper clip (two, one on each side, if the tube is large) and slide it up from the bottom as the tube empties.