Both as a result of the most recent program we put in doesn’t persuade us, or as a result of we’re decided to ‘loosen up’ our tools, it is very important know the way we will uninstall software program (or somewhat, utilizing the right terminology, ‘packages’) of our Linux system.
Nonetheless, one factor we should always find out about Linux is that there’s not just one option to uninstall (or set up, since we’re) packages, however a number of. Within the first place, it’ll differ in line with the distribution we’re utilizing, and secondly in line with how we want to hold out this job utilizing graphical instruments or the command line terminal.
Programs and bundle managers
The very first thing we should always know in the case of uninstalling software program in Linux is
What’s a bundle system?
What’s a bundle supervisor?
What system and bundle supervisor does my Linux use?
A bundle system is the particular format during which software program is packaged, distributed, and put in on our system. The bundle supervisor is, in fact, this system liable for putting in, updating and uninstalling the software program of a distribution.
A) Sure, completely different ‘households’ of distributions share bundle system (they usually are likely to share the supervisor as properly); thus, these primarily based on Debian (reminiscent of Ubuntu and derivatives) have apt as a format and apt-get as a supervisor, these primarily based on RedHat (reminiscent of CentOS, Fedora and derivatives) have rpm as a format and often have yum as a supervisor (though Fedora makes use of a ‘fork’ known as dnf), and Arch-based ones (like Manjaro) use the tar format and the pacman supervisor.
Issues get difficult after we take into consideration that, other than the primary bundle system of the distribution, there could also be different overlapping complementary methods, not linked to any particular distribution.
How one can use the bundle supervisor to uninstall applications
All well-liked Linux distributions have a graphical software able to assist us to make use of the bundle supervisor with out the necessity to enter instructions in textual content modeor. In truth, they often have considered one of these instruments put in as customary, however in addition they have various choices.
For instance, in Ubuntu, we now have the ‘Software program Middle’, which permits us to handle each APT and Snap packages, however we even have the choice to put in Synaptic, Debian’s conventional graphical bundle administration software and all its derivatives (and it solely manages APT packages).
The precise title and operation of those graphic managers differ from one distribution to a different, however normally they are usually fairly intuitive.
For instance, within the following picture, we see the Synaptic graphical supervisor operating in Ubuntu. We simply should use your inner search engine to seek out the bundle we wish to uninstall and inform Synaptic to uninstall it:
Uninstall software program on Debian, Ubuntu and derivatives
If we use Debian, Ubuntu, Linux Mint, Elementary Linux, Kali Linux, PopOS! or related, we are going to solely should enter the next command within the terminal (after which enter our password ‘root’):
sudo apt-get take away [nombredelpaquete]
Uninstall software program on Crimson Hat and derivatives
If we use Crimson Hat or CentOS, we are going to solely should enter the next command within the terminal (after which enter our ‘root’ password):
sudo yum take away [nombredelpaquete]
If, quite the opposite, we use Fedora Linux:
sudo dnf take away [nombredelpaquete]
Uninstall software program on Arch Linux and derivatives
We’ll solely should enter the next command within the terminal (after which enter our password ‘root’):
sudo pacman -Rs [nombredelpaquete]
Uninstall software program on add-on bundle methods:
If we now have put in any particular software program utilizing a Flatpak or Snap bundle, the instructions to make use of would be the following:
sudo flatpak uninstall –user [nombredelpaquete]
sudo snap take away [nombredelpaquete]
If, quite the opposite, we had resorted to a AppImage, don’t be concerned: they’re like moveable Home windows functions, simply delete the bundle and voila.
Picture | Pixabay + June KS Loftesnes