Yum

From WeWeWeb Wiki
Jump to navigationJump to search

To find an package:

#yum list <package name>

The * character is used as wildcard.

To install:

# yum install <package name>

To update:

# yum update <package name>

If no package name specified, all available update package will be updated


These entries should be added to the configuration file /etc/yum.conf. Please replace SERVERNAME with one of the mirrors listed in the Fedora mirror list.


To add a new update site:

First, add the following to your /etc/yum.conf file:

 [fedora-extras]
 name=Fedora Extras $releasever - $basearch - Extra Packages
 baseurl=http://download.fedora.us/fedora/fedora/$releasever/$basearch/yum/stable/
 gpgcheck=1
 failovermethod=priority

Then, do the following steps:

 rpm -import http://www.fedora.us/FEDORA-GPG-KEY
 yum check-update

Goto Linux