yum is software installation tool for Red hat linux and Fedora Linux. It is a complete software management system. Other option is to use up2date utility. yum is designed to use over network/internet. It does not use CDROM to install packages. If you are using fedora you don't have to install it, it is part of fedora itself.
If you don't have yum then download it from project home page
http://linux.duke.edu/projects/yum/download.ptml
And then install it
Step # 1: Configure yum
You need to edit /etc/yum.conf and modify/add following code to it:
Append or edit code as follows:
Code:
[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag
baseurl=http://mirrors.kernel.org/fedora/core/$releasever/$basearch/os
Save the file
Install GPG signature key with rpm command:
Code:
# rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
and other keys too (if any using above command)
Step # 2 Update your package list:
Step # 3 start to use yum
Install a new package called foo
To update packages
To update a single package called bar
To remove a package called telnet
Code:
# yum remove telnet
To list all packages
Code:
# yum list installed
You can search using grep command
Code:
# yum list installed | grep samba
Display information on a package called foo
To display list of packages for which updates are available
Reference:
Yum homepage:
http://linux.duke.edu/projects/yum/
Managing Software with yum:
http://fedora.redhat.com/docs/yum/index.html
FC Mirrors:
http://fedora.redhat.com/download/mirrors.html