Simple commands to uninstall programs from the Terminal and free up space on your Ubuntu system
The first place to start when cleaning up your Ubuntu system is to check the programs you have installed and then remove them. To do so, you’ll need to get a list of everything installed on your system. There are two terminal commands for this, either:
dpkg --list
Or alternatively this one:
apt list --installed
However, I’m not a fan of this approach as you’ll get massive lists you’ll need to scroll through manually, and they include dependencies you may not know the use of. Unless you really know what you’re doing, it’s better to go to your list of installed apps in your GUI. Depending on the system you’re rocking, there are different places for it, but it’s in your software center. Below is what it looks like in Linux Mint.
To remove programs, just either do so via the software center, or enter the following in the terminal:
sudo apt-get remove program-name
Note that you can string multiple programs together in one go, just add the names without any commas or anything. Check out our full article on how to uninstall software on Ubuntu if you’d like to know more details.
Comments
Post a Comment