RPM
RPM stands for Red Hat Packet Manager.
Various commands used to install RPM’s in LINUX are:
# rpm –ivh <package name>
This command is used to install a package.
Where flags
i is used for install
V stands for verbose, and,
H stands for print hash marks.
# rpm –e <package name>
This command is used to erase the package from the system.
# rpm –qa
Command is used to query all rpm’s installed.
# rpm –q <package name>
Command is used to query a particular software or package.
# rpm –qi <package name>
Command is used to query software information.
# rpm –ql <package name>
Command is used to check installed location.
# rpm –qd <package name>
Command is used to query the documentation.
To query with filename,
# which <command name>
For eg:
# which mkdir
Output : /usr/bin/mkdir
# rpm –qf /usr/bin/mkdir
This command will give the complete software information.


I’ve also found that once you’ve installed an rpm in AIX you should run the updtvpkg command too.
Glenn Robinson
May 31, 2012 at 9:01 pm