

Query dependencies of a Installed rpm Package To check recently installed rpm packages use the rpm -qa with –last, follow the example below. d – To check Documentation of a rpm Package.


usr/share/doc/util-linux-2.13/README.getty usr/share/doc/util-linux-2.13/README.fdisk usr/share/doc/util-linux-2.13/README.clear usr/share/doc/util-linux-2.13/README.cal To check the documents related to any rpm package we can use rpm command with -qdf, Refer the exmaple ~]# which ~]# rpm -qdf /sbin/fdisk

Tomcat5-server-lib = 0:5.5.23-0jpp.7.el5_3.2Ĭheck the Documents related to rpm package We can check the required dependencies of a rpm package before installing it using rpm command with -qpR, Here i am checking dependencies of tomcat5 package as shown below. We can see the next screen by pressing SPACE bar on the keyboard.Ĭheck dependencies of a rpm package before install more will show the output in a scrollable manner and one screen at a time and the screen will end with –More–. We can query all installed packages by using “ rpm -qa” but this will list all installed packages at once and if the list is too long then we unable to check all the packages properly,to overcome from this we can use more with help of filter ( | ). Query all Installed rpm Packages in Scrolleable Manner ( Using more) GNU nano is a small and friendly text editor. Group : Applications/Editors Source RPM: nano-1.3.12-1.1.src.rpm Install Date: Mon 10:25:56 AM PST Build Host: Release : 1.1 Build Date: Wed 09:58:34 AM PDT Name : nano Relocations: (not relocatable) Suppose we want to know some information about a package which is already installed, we can do that by using rpm package with -qi option, Example shown below. Query the Information of already installed rpm package To list the files and directories with it’s location installed by the package we can use the rpm command with option -ql as shown below. To list files and directories with it’s location of an installed rpm package
HOW TO INSTALL RPM PACKAGES IN REDHAT LINUX ARCHIVE
