1. Fedora8 comes with a slow yum source network speed, so two yum sources are manually added. 1) livna yum Source: rpm-ivhhttp: // rpm.livna.org/livna-release-8.rpm2) freshrpms yum Source: rpm-ivhhttp: // ftp.freshrpms.net/pub/freshrpms/fedora/linux/8/freshrpms-re
1. The net speed of the yum source provided by Fedora 8 is slow. Therefore, two yum sources are manually added.
1) livna yum Source:
Rpm-ivh http://rpm.livna.org/livna-release-8.rpm
2) freshrpms yum Source:
Rpm-ivh http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/8/freshrpms-release/freshrpms-release-1.1-1.fc.noarch.rpm
3) install yum-plugin-fastestmirror (automatically select a fast image site)
Yum install yum-fastestmirror yum-presto
Determine plugins = 1 in/etc/yum. conf.
4) install yumex (yum graphics front-end ):
Yum install yumex
Ii. Some common yum commands:
1 // check the updatable rpm package
# Yum check-update
2 // update all rpm packages
# Yum update
3 // update all RPM packages. Unlike yum UPDATE, yum upgrade will UPGRADE all packages and delete outdated packages. YUM update will not delete outdated packages.
# Yum upgrade
4. list all available packages in the repository
# Yum list
5. list all ampersand packages on the computer
# Yum list installed
6. list all the packages that can be upgraded on the computer
# Yum list updates
7. Install the package with the specified package name
# Yum install pack_name
8. Delete packages and dependencies
# Yum remove pack_name
Parameters related to yum temporary storage (/var/cache/yum /)
1 // clear the temporary rpm package file
# Yum clean packages
2 // clear the temporary rpm header file
# Yum clearn headers
3 // clear the stored old rpm header file
# Yum clean oldheaders
4 // clear the stored old rpm header files and package files
# Yum clearn or # yum clearn all
Note: equivalent to yum clean packages + yum clean oldheaders