Wednesday, March 22, 2006

all about yum

First set your rpm repos on the /etc/yum.conf as

[freshrpms core]
name=Fedora Linux $releasever - $basearch - core
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/core
#gpgcheck=1

[freshrpms updates]
name=Fedora Linux $releasever - $basearch - updates
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/updates
#gpgcheck=1

[freshrpms extras]
name=Fedora Linux $releasever - $basearch - extras
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/extras
#gpgcheck=1

[freshrpms]
name=Fedora Linux $releasever - $basearch - freshrpms
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms
#gpgcheck=1


Then import the key from the Fresh rpm site otherwise you wornt get the yum succesfully working on your thing.
su -
rpm --import http://ftp.freshrpms.net/pub/freshrpms/RPM-GPG-KEY

The serch a thing
yum search

The install a thing using yum
yum install

To erase a thing
yum erase

No comments: