Rpm: Difference between revisions
(categorize) |
m (better intro) |
||
Line 1: | Line 1: | ||
'rpm' is a utility for downloading, installing, and managing software packages. It is generally better to install packages via the [[yum]] utility, but not all software is available this way, so sometimes 'rpm' is the best option |
'rpm' is a command-line utility for downloading, installing, and managing software packages that you run in the [[Terminal Activity]]. It is generally better to install packages via the [[yum]] utility, but not all software is available this way, so sometimes 'rpm' is the best option. If you are using 'rpm' to download software, the XO will need [[Wifi_Connectivity]]. |
||
Generally, you can install a package with 'rpm' like this: |
Generally, you can install a package with 'rpm' like this: |
Revision as of 22:18, 14 August 2008
'rpm' is a command-line utility for downloading, installing, and managing software packages that you run in the Terminal Activity. It is generally better to install packages via the yum utility, but not all software is available this way, so sometimes 'rpm' is the best option. If you are using 'rpm' to download software, the XO will need Wifi_Connectivity.
Generally, you can install a package with 'rpm' like this:
su rpm -ivh 'desired_software_package.rpm' exit
That is, you use su to switch to "superuser" (or "root") mode, 'rpm' to install the software, then 'exit' from "superuser" mode. Note the single-quote characters (') around the filename. They are optional, but may be needed if the filename contains spaces or unusual characters.
You can also use 'rpm' to both download and install the software package in one step:
su rpm -ivh 'http://www.website.com/path/to/desired_software_package.rpm' exit
Sometimes 'rpm' has problems downloading the software package. You can try using wget to download the file, as it can sometimes download files that 'rpm' cannot:
wget 'http://www.website.com/path/to/desired_software_package.rpm' su rpm -ivh 'desired_software_package.rpm' exit
You can read more about 'rpm' at the rpm homepage.