But I find it interesting as it helps you understand how packages on your Arch Linux system are dependent on each other. NOTE: You don’t need pactree to remove all the dependencies along with the package. You can use pactree utility to find out the packages the package xyz depends on. Finding Out the Dependencies of a Certain Package
#PYTHON UNINSTALL ALL PACKAGES HOW TO#
In this article I will show you how to remove packages on Arch Linux along with their dependencies using Pacman package manager. So saving a few megabytes to a few hundreds of megabytes is still worth it. Of course that doesn’t matter when you have a big hard drive on your local computer, but if it’s a server that you rented online, you will have limited disk space.
![python uninstall all packages python uninstall all packages](https://nektony.com/wp-content/uploads/2020/06/python-uninstall.png)
The problem with that is the unnecessary packages takes extra space on the hard drive. By default, Pacman package manager will only remove the package that you tell it to, leaving the dependencies of that package installed. Later, if you discover that you’ve accidentally removed a dependency of another package, you can reinstall that package, and pip will automatically redownload the missing dependency. It saves you from manually installing them one by one, which obviously is boring and time consuming.But the problem comes in when you try to remove the package from your Arch Linux system. Once you’re confident you can uninstall a package, you can do so with pip uninstall. It’s all good that Pacman resolves all the dependencies and installs them for you. These packages are called the dependencies of the package that you tried to install.
![python uninstall all packages python uninstall all packages](https://i.imgur.com/xTeIIug.png)
When you install packages on Arch Linux with Pacman package manager, some other packages are also installed with it.