To install software packages, use the following command:
rpm -i foobar.rpmTo uninstall a software package:
rpm -e foobar.rpm
To list all installed packages:
rpm -qaIf the list is too long to be seen in one windows, you may pipe the list to less:
# rpm -qa | lessLike any other Unix command, you may use the --help to look for help in RPM.
rpm --helpOf course, the manual for RPM is available as:
man rpm
While the rpm command is good for installing a single RPM from local directory, the yum command is often the better choice for installing applications in Red Hat Linux / Fedora. Unlike RPM, Yum will help to automatically find all dependent packages.
No comments:
Post a Comment