Extend volume to physical max

installed the ubuntu image on a 64GB sd card. Looks like only a fraction of it is used. Is there anyway to extend the volume to use the entire physical storage?
It’s easy to do something similar on the raspberry Pi 4.

sudo systemctl enable resize-helper

Install Armbian which is far better than “Ubuntu”. This problem is solved automatically.