Clear Disk Space



I was trying to install gnome just for fun. While installing it’s turned out that there is not enough disk space, so the installation crushed. The problem is that now all the disk space is filled with the files of not installed software. I was trying to uninstall gnome and remove the files and clear some disk space using apt-get remove/clean/autoremove/autoclean but I failed. How do I clear my disk space?


sudo apt-get remove package-name1 package-name2
Where package-name1 the app u want to remove