Do you want to uninstall any program from your Linux system?. Great, As you know that you can easily install and uninstall any software from Ubuntu Software Center, but what about uninstalling other programs and packages which you’ve installed from the terminal. Don’t worry friends, you can easily remove such type program and packages from your system by using some simple codes. If you are a typical terminal user, then you’ll be going to love this procedure.
Here, we are discussing different methods to remove any software completely as well as partially. Just have a glance at this article to find out how to uninstall a program using a terminal in Ubuntu 14.04
Steps to uninstall a program using terminal:
Step 1: First open your terminal by using Ctrl+Alt+T key combination and then type: “dpkg –list” (Note: There are two dashes (-) before list in this code).
Basically, a dpkg command is used to display all the installed package in your computer system.
Step 2: After executing this code, you’ll see a list of applications/ packages installed in your system. Here we are highlighting the one which we want to uninstall.
Step 3: Now, for deleting any application type: “sudo apt-get –purge remove gimp” and hit enter. (Note: There are two dashes (-) before purge in this code). Basically purge command is used to uninstall any program with all its configuration files.
Step 4: Press ‘Y’ when prompted “Do you want to continue[Y/N]”.
Step 5: If you don’t want to remove the configuration files then, you can use: “sudo apt-get remove gimp”.
Step 6: Now, if you want to remove unused packages then, type “sudo apt-get autoremove”. This autoremove function cleans all the unused programs from form system.
Step 7: Again press ‘Y’ when prompted “Do you want to continue” and then hit enter.
Step 8: You can also combine two commands to uninstall the program as well as remove the dependent unused packages. For that just type: “sudo apt-get purge –auto-remove gimp” and press enter.
Step 9: If you want to clean the cache or downloaded archives then you can type: “sudo apt-get clean” and hit enter.
That’s all friends. Keep reading.
Leave a Reply