How to check dependencies of a package in linux
- apt show dependencies
- apt show dependencies tree
- apt list dependencies recursively
- apt show reverse dependencies
How to check dependencies of a package in ubuntu...
How to Check Dependencies of a Package in Ubuntu/Debian-based Linux Distributions
Installing applications via command line is quite easy in Ubuntu/Debian.
How to check dependencies of a package in redhat linux
All you need to do is to use apt install package_name.
But what if you want to know the dependencies of a package before or after installing it?
In this tutorial, I’ll show you various ways to see the dependencies of a package in Ubuntu and other Debian-based Linux distributions that use APT package management system.
What is package dependency in Ubuntu?
If you didn’t know already, when you install a software package in Linux, sometimes, it needs other packages to function properly.
These additional packages are called dependencies. If these dependency packages are not installed on the system, it is usually installed automatically with the package.
For example, the GUI tool HandBrake for converting video formats needs FFmpeg, GStreamer.
So for HandBrake, FFmpeg and GStreamer are the dependencies.
If you don’t have these packages installed on your system, they will be automatically installed when
- apt show build dependencies
- linux apt show dependencies