Yum: Difference between revisions

From OLPC
Jump to navigation Jump to search
(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)
For more on yum, type

For more on yum, on the XO, type in a terminal

yum -h

On other linux systems that have "man"


man yum
man yum


or on any many Red Hat or related Linux system that uses "yum" and "info"
or
and ONLY IF you are familiar with "info" or "emacs"


info yum
info yum


on any Red Hat or related Linux system that uses 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

This article is a stub. You can help the OLPC project by expanding it.

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.



External References