Installing and uninstalling are tasks that are synonymous with computers. Both are carried out regularly in computer systems throughout the world. These are considered to be part of the first few basic tasks learned at the beginner level. There are multiple reasons why you’d want to uninstall an application. Maybe the application uses many resources and can release some much-needed memory space for your system. It can also be the case that you don’t want to use the application anymore because it has become error-ridden or a better alternative is available in the market. Although it isn’t that difficult to uninstall unwanted applications on Ubuntu, performing it on a relatively new and uncommon operating system such as Ubuntu can be confusing. Therefore, people who are used to neatly functioning Windows or other popular operating systems can find themselves in a pickle with computers having Linux. In case you have found yourself in a similar issue and can’t seem to figure out how to get rid of an application, then this article is meant for you. We will guide you through the whole procedure step by step. So let’s get started!
1. Uninstall Applications Using Terminal.
The terminal provides us with an environment to carry out tasks using executable commands. There is a designated command for every possible task a computer can perform, be it simple or complex. Similarly, uninstalling applications has a specific command that we can type on the terminal and execute. The $apt-get remove command is used to uninstall an application through the terminal. The syntax for this command is: The command is understandably similar to the $apt-get install command that is used to install applications. The $apt-get remove command appears to be simple and easy to execute. However, the command does require you to provide it with the exact name by which the application is stored in your system. For this purpose, we use the $dpkg –list command to extract the correct name. Follow these steps for the correct uninstallation of an application: Type the following command: You should see such output on the terminal window. This displays the package names. If you see an output similar to the one above, you have successfully uninstalled the application. As you may have noticed, uninstalling applications is easy regardless of the operating system you use.
The $apt-get purge Command.
The $apt-get remove command uninstalls the application, but it does not eliminate the configuration files and plug-ins related to the application. This helps to retain your setting in case you end up reinstalling the application. For deleting everything related to the application, we use the $apt-get purge command. This removes all the personalized settings involved. We do have to know the correct name for executing this command as well. The syntax for this command is: Let’s execute the command by following these steps: With the steps followed correctly, the application and its files will no longer exist in your system. This command should be used for applications you know you will not be reinstalling later. If you think you might reinstall it, then the option of $apt-get remove is the better one.
2. Uninstall using Ubuntu Software Application [GUI].
For people who prefer the Graphic User Interface (GUI) experience over the Command Line Interface(CLI) of the terminal, Ubuntu Software is the place where they can perform all the actions on their favorite packages and applications. Ubuntu Software provides users with a whole library of software and applications. This contains all applications that are compatible with Ubuntu. With just a few clicks, the user can install and uninstall unwanted applications on Ubuntu. Moreover, like every GUI application, it is easy to use and user-friendly. To remove applications using Ubuntu Software, follow these steps: Once you provide the password, the process of uninstallation starts. Upon completion, you should see the application icon does not exist, neither in Ubuntu Software nor on the desktop. It has been successfully uninstalled.
The $apt-get autoremove Command.
Uninstalling applications is a good way to free up memory. But on occasions, you may not be able to free up enough memory by uninstalling applications and refuse to carry on. For this situation, there is a special command called “autoremove”. Essentially, autoremove deletes leftover package dependencies of software that are no longer in use. Package dependencies are not removed when you uninstall an application. Thus autoremove comes in handy and can free up to 100 Mbs of space for you. The syntax for autoremove is: Use autoremove by following these steps: 3. Press Enter to execute the command. Autoremove is a great command that performs the very important task of cleaning up. Getting rid of those dependencies can free up large amounts of usable space. So you need not worry about uninstalling a set of applications just for storage purposes. This guide went through all the ways you could uninstall an application on Ubuntu. As a bonus, you also got to know another method to free up useful storage space. We hope that you are now able to uninstall packages and applications easily. Now that you know how to uninstall unwanted applications on Ubuntu, you can try checking free space on your system with the help of this article. If this guide helped you, please share it. 🙂