How to uninstall software on linux

Uninstalling some applications on linux has become a always difficult task.The best way to uninstall software is to remove right set of dependencies and libraries in right place. In this involves many steps and users getting problem, if they don’t know the technical details of uninstalling. But uninstalling software has always been one of the most difficult tasks in Linux. There are few of methods that can easily do it but here I am going tell you a easy method to uninstall program or application on linux mint which is easy to follow.

Uninstalling software on Linux can be an easy as one, two, three. The process varies depending on the package installed. This guide will walk you through the default Ubuntu & Debian packages and how to uninstall software cleanly with apt-get or dpkg. There are many reasons why you would want or need to uninstall software, so read ahead and learn a few helpful tips for uninstalling software on Linux .”

Uninstalling software on Linux is a simple process.

Finding the software you want to remove

If you’re using a GUI, you can find the software you want to remove by going to your desktop and clicking the Applications icon. From there, click on the category for your desired application, and then double-click it. If there is no Applications icon, click on Places and then double-click Computer. From there, you should be able to see all of your installed programs or files.

If you’re using a terminal, type in: ls -l /usr/share/applications/ | grep -v ‘._’ | awk ‘{print $1}’

This will give you a list of all applications installed on your computer. You can now use this list to locate the one in question.

Removing an application from your PC

Now that we know how to find our target application, we can begin removing it! To do so, type in: sudo apt-get remove package_name where “package_name” is replaced with what was found earlier (i.e., if it was called “Hello World”, then we would type in sudo apt-get remove hello world).

If you’ve installed software from the Ubuntu software repositories using the Ubuntu Software Center, you can use the Ubuntu Software Center to uninstall that software as well. However, if you’re more comfortable using the command line, we’ll show you an easy way to see what’s installed on your system and uninstall programs.

If you have an idea of what you want to uninstall, but you don’t know the exact name, see our article about finding out exact package names in Linux. You can also use the “dpkg” command to see a list of all installed packages on your computer, press “Ctrl + Alt + T” to open a Terminal window. Type the following command at the prompt and press “Enter”.

dpkg --list

NOTE: There are two dashes before “list”.


Scroll through the list of installed packages in the Terminal window to find the one you want to uninstall. Note the full name of the package.

To uninstall a program, use the “apt-get” command, which is the general command for installing programs and manipulating installed programs. For example, the following command uninstalls gimp and deletes all the configuration files, using the “--purge” (there are two dashes before “purge”) command.

sudo apt-get --purge remove gimp

Enter your password when prompted and press “Enter”.

NOTE: The password does not display as you type it. However, you can choose to display asterisks as you type the password.

The uninstallation process begins and a summary of the actions to be taken displays. When asked if you want to continue, type a “y” and press “Enter”.

The installation process continues. When it’s done, type “exit” at the prompt and press “Enter” to close the Terminal window, or click the “X” button in the upper-left corner of the window.

If you don’t want to remove the configuration files, simply leave out the “--purge” command, as shown in the following command.


Join 425,000 subscribers and get a daily digest of features, articles, news, and trivia.Sign Me Up!

By submitting your email, you agree to the Terms of Use and Privacy Policy.

sudo apt-get remove gimp

As discussed in this article, programs installed in Linux depend on other packages to function. When you uninstall a program, there may be packages that the uninstalled program depended upon that are no longer used. To remove any unused packages, use the “autoremove” command, as shown in the following command.

sudo apt-get autoremove

You can combine the two commands for removing a program and removing dependencies that are no longer being used into one, as shown below (again, two dashes before “auto-remove”).

sudo apt-get purge --auto-remove gimp

If you’re short on space, you can use the “clean” command to remove downloaded archive files, as shown below.

sudo apt-get clean

This command removes the aptitude cache in “/var/cache/apt/archives”. When you install a program, the package file is downloaded and stored in that directory. You don’t need to keep the files in that directory. However, the only drawback of deleting them, is that if you decide to install any of those programs again, the packages would have to be downloaded again.

The “apt-get” is a handy tool that makes downloading, installing, and uninstalling programs quick and easy. For more information about using the “apt-get” command, type “apt-get” at the prompt and press “Enter”.

Linux Commands
Filestar · pv · cat · tac · chmod · grep ·  diff · sed · ar · man · pushd · popd · fsck · testdisk · seq · fd · pandoc · cd · $PATH · awk · join · jq · fold · uniq · journalctl · tail · stat · ls · fstab · echo · less · chgrp · chown · rev · look · strings · type · rename · zip · unzip · mount · umount · install · fdisk · mkfs · rm · rmdir · rsync · df · gpg · vi · nano · mkdir · du · ln · patch · convert · rclone · shred · srm
Processesalias · screen · top · nice · renice · progress · strace · systemd · tmux · chsh · history · at · batch · free · which · dmesg · chfn · usermod · ps · chroot · xargs · tty · pinky · lsof · vmstat · timeout · wall · yes · kill · sleep · sudo · su · time · groupadd · usermod · groups · lshw · shutdown · reboot · halt · poweroff · passwd · lscpu · crontab · date · bg · fg
Networkingnetstat · ping · traceroute · ip · ss · whois · fail2ban · bmon · dig · finger · nmap · ftp · curl · wget · who · whoami · w · iptables · ssh-keygen · ufw

Leave a Comment