1. $ yum list The RPM Package Manager (RPM) is a package management system that runs on Red Hat Enterprise Linux, CentOS, and Fedora. Parent Directory - 389-ds-base-1.3.10.2-6.el7.x86_64.rpm: 2020-10-14 18:46 : 1.7M : 389-ds-base-devel-1.3.10.2-6.el7.x86_64.rpm: 2020-10-14 18:46 : 283K I think this will do to start. Resolution. RPM Query Package for Installed Files. $ sudo rpm -q GeoIP output GeoIP-1.5.0-11.el7.x86_64 4) How to List all files for particular installed RPM package. When I changed that to rpm -q --whatrequires glibc, I received a list of packages. List All Repository Packages. Provides the command list to display information about installed and upgradeable (and older) packages. #rpm -q --last-----example : rpm -q kernel --last I'm just trying to determine if any package depends on another one. yum command have list option which will list all packages from currently available repositories. zypper search -s Adding --exact-match can help, if there are multiple packages. rpm -q --whatrequires glibc-2.5-12 and got back no package requires glibc-2.5-12. List files in an RPM package file using the rpm command The RPM package manager rpm comes with various utilities to interact with packages. Thanks! A .src.rpm package is very flexible since it can be built and re-built on every other RPM-based distribution and architecture. Can return a detailed list of available and installed packages or patches. How to list all packages updates and applied time in my system; How to check my Linux system patch history. RPM Package Manager (RPM) (originally Red Hat Package Manager, now a recursive acronym) is a free and open-source package management system. The actual .rpm package build is based on the .src.rpm package. RPM was intended primarily for Linux distributions; the file format is the baseline package format of the Linux Standard Base.. -q is query and -p is for non-installed-package. RPM is a powerful Package Manager for Red Hat, Suse and Fedora Linux. RPM makes it easier for you to distribute, manage, and update software that you create for Red Hat Enterprise Linux, CentOS, and Fedora. We can list all the files of an installed rpm packages, By using the -ql option with rpm command. – Jeff Sheffield Feb 12 '14 at 7:11 The SRPMS directory holds the .src.rpm packages. If not and the developers aren't using it, I'm just going to remove it. We can use -q option with package name, It will show whether an rpm package installed or not. There are two method to get this information. yum --showduplicates list zypper For SuSE Linux. Another useful option is used to use -p to list .rpm package files before installing it. A Package consists of an archive of files, and package information, including name, version, and description. Find the total count of packages and filter some of the packages I am interested in. Finally: for completeness. 3) How to check an installed RPM package. You can use following command to check particular package update history. The name RPM refers to .rpm file format and the package manager program itself. And now we can start the process. # rpm -qlp telnet-server-1.2-137.1.i586.rpm On Debian/Ubuntu distributions, you can use the dpkg command with the -L flag to list files installed to your Debian system or its derivatives, from a given .deb package.. This will check all currently enabled repositories. A Source RPM package doesn’t belong to an architecture or distribution. It can be used to build, install, query, verify, update, and remove/erase individual software packages. you can also gleam other information about the package with: for example rpm -qp --scripts foo.rpm to list the rpms pre/post scripts or rpm -qp --list foo.rpm to list the package contents.