🔍 See Original Answer on Ask Ubuntu 🔗
Best way to make Ubuntu installation as lean as possible?
October 9, 2019
November 24, 2022
Copy to clipboard: false
I have no need to do what you are doing but Ubuntu Desktop requires 25GB space (recommended) and Ubuntu Server requires 1.5GB space (recommended) so I would start by installing the server edition.
Next I would install the desktop (not all the apps) onto the server version:
sudo apt-get install xubuntu-desktop
Then reboot and run a script to install your bare minimum GUI requirements.