RPM:
rpm -qa shows what rpm packages are installed
rpm -ql <package name> shows where the files are installed (rpm -qlp .. shows the absolut paths???)
rpm -q --filesbypkg cdrecord list all the files on installed rpm package
rpm -qf /usr/bin/lynx query a file to find the source rpm package
rpm -qi <package name> list information on an installed rpm package
rpm -qR <package name> list all dependencies on any rpm package
rpm -Uvh httpd-2.2.8.aix5.1.rpm install the rpm package
rpm -Uvh --force *.rpm
rpm -Uvh --force --nodeps <package name> does not check dependency
rpm -e <package name> removes the rpm package
/usr/sbin/updtvpkg enables the rpm command to recognize that the libraries have been installed
In some cases you might get an error about failed dependencies when you install RPMs on AIX (for example, error: failed dependencies: libX11.a(shr4.o) is needed by tk-8.3.3-1). Most likely the error occurs because the rpm command does not recognize the shared library. If the error occurs, check to see if the X11 libraries are installed in the directory /usr/lpp/X11/lib. If they are not installed, use the AIX product media to install them. After you have installed the libraries, run the above command (updtvpkg). The command enables the rpm command to recognize that the libraries have been installed.
rpm -qa shows what rpm packages are installed
rpm -ql <package name> shows where the files are installed (rpm -qlp .. shows the absolut paths???)
rpm -q --filesbypkg cdrecord list all the files on installed rpm package
rpm -qf /usr/bin/lynx query a file to find the source rpm package
rpm -qi <package name> list information on an installed rpm package
rpm -qR <package name> list all dependencies on any rpm package
rpm -Uvh httpd-2.2.8.aix5.1.rpm install the rpm package
rpm -Uvh --force *.rpm
rpm -Uvh --force --nodeps <package name> does not check dependency
rpm -e <package name> removes the rpm package
/usr/sbin/updtvpkg enables the rpm command to recognize that the libraries have been installed
In some cases you might get an error about failed dependencies when you install RPMs on AIX (for example, error: failed dependencies: libX11.a(shr4.o) is needed by tk-8.3.3-1). Most likely the error occurs because the rpm command does not recognize the shared library. If the error occurs, check to see if the X11 libraries are installed in the directory /usr/lpp/X11/lib. If they are not installed, use the AIX product media to install them. After you have installed the libraries, run the above command (updtvpkg). The command enables the rpm command to recognize that the libraries have been installed.