Yum Respository for Fedora Core and CentOS
YUM is a package manager for rpm-based distributions. Just like
apt-get for Debian, YUM makes package installations and updates much simpler by automatically taking care of dependencies.
Go to this
link if, for some reason, you want to go straight to the repository and download the rpms by hand.
How to Use Yum
- Download YUM for
Fedora
Core 1,
FC 2,
or
FC 3.
- Install YUM by running the command:
# rpm -i yum-version-number.rpm
- For Fedora Core, edit /etc/yum.conf as follows:
[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=http://mirrors.ateneo.net/distro/yum/Fedora/Core/$releasever/base/
[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
baseurl=http://mirrors.ateneo.net/distro/yum/Fedora/Core/$releasever/updates/
For CentOS, edit /etc/yum.repos.d/CentOS-Base.repo as follows:
[base]
name=CentOS-$releasever - Base
baseurl=http://mirrors.ateneo.net/distro/yum/centos/$releasever/os/$basearch/
exactarch=1
gpgcheck=1
[update]
name=CentOS-$releasever - Updates
baseurl=http://mirrors.ateneo.net/distro/yum/centos/$releasever/os/$basearch/
exactarch=1
gpgcheck=1
- To update your Fedora Core installation just type in the command:
# yum update
To install or remove a package do the following:
# yum install some-package.rpm
# yum remove some-package.rpm
You may also refer to the man pages for YUM. This is, likewise, a useful
link.
 |