Difference between revisions of "Redhat: RPM"
Jump to navigation
Jump to search
(Created page with "== Managing Packages using RPM == The RPM command can be used to manage individual packages. == Install a Package = The most important use for the RPM command is to install...") |
(No difference)
|
Revision as of 15:42, 18 August 2013
Managing Packages using RPM
The RPM command can be used to manage individual packages.
= Install a Package
The most important use for the RPM command is to install a package. This is done using the -i flag.
rm -i <rpm file>It will throw and error is there are dependencies however it cannot install them. Dependencies can lead to dependency hell, when there are so many dependencies, and they themselves have dependencies that it can become impossible to manage. This is where yum is useful.
Upgrade a Pacakage
rm -U <rpm file>Uninstall a Pacakage
rm -e <rpm file>