Installing yup
If the Yellow Dog Linux upgrade tool was not automatically installed, you can install it by putting the Yellow Dog Linux Install CD-ROM in your CD ROM drive, and running (as root):
mount /mnt/cdrom cd /mnt/cdrom/RedHat/RPMS/ rpm -Uvh yup*.ppc.rpm
Choosing a Site to Download
The first thing you should do when you install yup, is pick a site to download software from. You can do this by typing in (as root):
yup config mirror
This will give you list of mirror sites to choose from, you should try to choose one that's geographically close to you (so if you live in the .uk, you should use a mirror that's in the .uk).
Installing Software
To install new software in YDL, you can use this command:
yup install someprogram
Note: Running this command will download the program, find any required libaries (it will prompt you yes or no if it requires any special libraries -- yup usually knows best -- say yes in most cases), download them, install the program and any required libs, and run any required configuration programs.
Upgrading Software
You can upgrade a program by using:
apt-get update someprogram
If you want to upgrade your entire system to the latest versions of software in your version of Yellow Dog Linux (for security updates, fixes (and new software if using unstable) type in:
yup update
Put that command in /etc/cron.daily/, and you will always have the latest security updates and stable software installed.
Removing Software
Didn't like the package you just installed? You can remove it using:
yup remove someprogram
Note: Running this command will remove the program, find any programs that required it, prompt you yes or no to remove these -- if you decide you want these programs to stay on your system, you should say no, and don't remove this program.
Freeing up Space
YellowDog Linux maintains a cache of packages recently installed in /var/cache/yup. You can clear this cache out (and possibly save hundreds of megabytes of space).
yup clean
Please e-mail suggestions to . This tutorial is free for everybody to use and share.


