The following were prepared by Fixstars staff or the greater YDL community and are specific to Yellow Dog Linux v.6.0 and v.6.1.
'yum' is a powerful software utility used to automatically update and install/remove packages on an RPM based Linux system, retrieve package information, and automatically resolve dependencies.
Originally created by Terra Soft, "yup" (Yellow Dog Updater) was improved and is now maintained by Linux@Duke team at Duke University, becoming yum open_in_new (Yellow Dog Updater, Modified). yum now ships with Red Hat and works with Fedora, Mandrake, and of course Yellow Dog Linux and Y-HPC.
Before starting directly with the yum commmand line options, please be informed that dependency check is always done with the yum usage. Also the default usage will prompt for Yes/No to ask you if something is really what you wanted to do. This feature could be overriden by using the -y option, though it is strongly suggested that you do use the default option, so that you double confirm what is happenning and also it is a good way to find out all the dependencies of a package.
You may want to modify your local /etc/yum.repos.d to point to the desired server:
[base] name=Yellow Dog Linux 6.0 Base #baseurl=http://www.ydl.net/pub/yum/6.0/base/ mirrorlist=http://www.ydl.net/resources/yd60-base-mlist enabled=1 gpgcheck=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[extras] name=Yellow Dog Linux 6.0 Extras #baseurl=http://www.ydl.net/pub/yum/6.0/extras/ mirrorlist=http://www.ydl.net/resources/yd60-extras-mlist enabled=1 gpgcheck=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[updates] name=Yellow Dog Linux 6.0 Updates #baseurl=http://www.ydl.net/pub/yum/6.0/updates/ mirrorlist=http://www.ydl.net/resources/yd60-updates-mlist enabled=1 gpgcheck=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
yum install php [ENTER]
yum update php [ENTER]
yum info php [ENTER]
yum whatprovides /usr/bin/php
yum remove php