Yum: Difference between revisions

From OLPC
Jump to navigation Jump to search
(→‎External References: Add reference)
(how to make rpms install their documentation, by changing a OLPC-specific config file)
Line 16: Line 16:


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

Revision as of 22:21, 25 January 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.

To install a particular RPM on the XO, type in a terminal

yum install {package name}

For more on yum, type

man yum

or

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. 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