On CentOS, you need to set up EPEL repo first. rpmreaper has an ncurses-based intuitive interface for browsing installed packages and their dependency trees. Originally this tool is developed to clean up unnecessary packages and their dependencies on RPM-based systems. The third method to show RPM package dependencies is to use rpmreaper tool. To show all required packages for a particular package: $ repoquery -requires -resolve įor repoquery to work, your computer needs network connectivity since repoquery pulls information from Yum repositories. This tool is included in yum-utils package. repoquery works whether or not a target package is installed. You can also get a list of dependencies for a RPM package using repoquery tool. Then use rpm command with -qpR options to list dependencies of the downloaded package. First download the package in the current folder with yumdownloader: $ yumdownloader -destdir=. Now let's check RPM depenencies of a uninstalled package (e.g., tcpdump). To download an RPM package without installing it, use a command-line utility called yumdownloader. If you want to check package dependencies for any uninstalled package, you first need to download the RPM package locally (no need to install it). Note that this command will work only if the target package is already installed. The following command lists all dependent packages for a target package. One way to find out RPM dependencies for a particular package is to use rpm command. Depending on whether a package is installed or not, there are several ways to identify its RPM dependencies. In this tutorial, I am going to show how to check RPM package dependencies. However, if you are a sysadmin or a RPM maintainer, you need to be well-versed in RPM dependencies to maintain run-time environment for the system or roll out up-to-date RPM specs. For end users, the complexity of such RPM dependency is hidden by package managers (e.g., yum or dnf) during package install/upgrade/removal process. How to check RPM package dependencies on Fedora, CentOS or RHELĪ typical RPM package on Red Hat-based systems requires all its dependent packages be installed to function properly.
0 Comments
Leave a Reply. |