How To Install Pipdeptree On Debian, Ubuntu, Kali And Fedora?
Install pipdeptree
-
Debian
apt-get install python3-pipdeptreeClick to copy -
Ubuntu
apt-get install python3-pipdeptreeClick to copy -
Kali Linux
apt-get install python3-pipdeptreeClick to copy -
Fedora
dnf install python3-pipdeptreeClick to copy
python3-pipdeptree
display dependency tree of the installed Python 3 packagesPipdeptree is a command line utility for displaying the installed Python packages in form of a dependency tree. It works for packages installed globally on a machine as well as in a virtualenv. Since pip freeze shows all dependencies as a flat list, finding out which are the top level packages and which packages do they depend on requires some effort. It can also be tedious to resolve conflicting dependencies because pip doesn't yet have true dependency resolution (more on this later). This utility tries to solve this problem. To some extent, this tool is inspired by lein deps :tree command of Leiningen.
Installing pipdeptree command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Kali and Fedora operating systems. Once you run the command it will install the latest version of pipdeptree 2026 package in your OS.




