now , we will use yum as package manager.
we assumed , you have been installed yum ; its OK
then we will use yum :
1. we must choice repository (mirrors) where there are many fedora package
2. login as root
3. edit yum
vim /etc/yum.repos.d/fedora-extras.repo
then modify the '[extras] ' part to include your chosen mirrors:
[extras]
name=Fedora Extras $releasever - $basearch4. exit vim
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/
baseurl=http://ftp.uni-bayreuth.de/linux/fedora/linux/extras/$releasever/$basearch/
ftp://ftp.tu-chemnitz.de/pub/linux/fedora-core-extras/$releasever/$basearch/
failovermethod=priority
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-extras-$releasever
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=1
5. then you can use yum
yum update
yum install package-name

No comments:
Post a Comment