Setting Yum, a software to manage packages

por | 23 junio, 2006

The yum is a software to manage packages and to keep your system updated. These settings are critical for installing various softwares below.

Setting the third-party repository(Dag.wieers).

Add the following lines in /etc/yum.conf

[dag] name=Dag RPM Repository for Red Hat Enterprise Linux baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag #baseurl=http://ftp.riken.jp/Linux/dag/redhat/el$releasever/en/$basearch/dag gpgcheck=1

Install GPG public keys:

# rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-centos4 # rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt 
Next, update softwares (At the first time, you need a lot of time to complete the following commands):
# yum update

To have the software automatically updated, turn on
the yum service. Logs are written in /var/log/yum.log

Management of packages by a graphical interface

eeded in advance: Setting Yum, a software to manage packages]   

Use apt + synaptic

# yum install apt # apt-get update # apt-get upgrade # apt-get install synaptic 
 

Setting Up2date

To use the Update Notification, add the following lines in /etc/sysconfig/rhn/sources

### Dag RPM Repository for Red Hat Enterprise Linux
yum DAG-RPM-Repository http://apt.sw.be/redhat/el4/en/$ARCH/dag
#yum DAG-RPM-Repository http://ftp.riken.jp/Linux/dag/redhat/el4/en/$ARCH/dag