Yum: Difference between revisions
HoboPrimate (talk | contribs) (how to make rpms install their documentation, by changing a OLPC-specific config file) |
(added use "yum -h" for the XO; use "info" only if familiar; link to rpm) |
||
Line 2: | Line 2: | ||
Yum is Yellowdog Updater, Modified, a tool for managing Red Hat RPM packages. |
Yum is Yellowdog Updater, Modified, a tool for managing Red Hat RPM packages. |
||
http://wiki.laptop.org/go/Rpm |
|||
To install a particular RPM on the XO, type in a terminal |
To install a particular RPM on the XO, type in a terminal |
||
Line 7: | Line 8: | ||
yum install {package name} |
yum install {package name} |
||
(somebody that knows needs to explain what {package name} can be) |
|||
⚫ | |||
⚫ | |||
yum -h |
|||
On other linux systems that have "man" |
|||
man yum |
man yum |
||
⚫ | |||
or |
|||
and ONLY IF you are familiar with "info" or "emacs" |
|||
info yum |
info yum |
||
⚫ | |||
To save space, OLPC OS builds for the XO are configured to not extract documentation from rpm packages to the file system. |
Note: To save space, OLPC OS builds for the XO are configured to not extract documentation from rpm packages to the file system. |
||
If there is a specific package for which you might want this overturned, edit the file: |
If there is a specific package for which you might want this overturned, edit the file: |
||
/etc/rpm/macros.pilgrim |
/etc/rpm/macros.pilgrim |
Revision as of 03:55, 10 June 2008
Yum is Yellowdog Updater, Modified, a tool for managing Red Hat RPM packages. http://wiki.laptop.org/go/Rpm
To install a particular RPM on the XO, type in a terminal
yum install {package name}
(somebody that knows needs to explain what {package name} can be)
For more on yum, on the XO, type in a terminal
yum -h
On other linux systems that have "man"
man yum
or on any many Red Hat or related Linux system that uses "yum" and "info" and ONLY IF you are familiar with "info" or "emacs"
info yum
Note: To save space, OLPC OS builds for the XO are configured to not extract documentation from rpm packages to the file system.
If there is a specific package for which you might want this overturned, edit the file:
/etc/rpm/macros.pilgrim
and change the line:
%_excludedocs 1
to:
%_excludedocs 0
before installing it. Remember to switch it back after you are done.