Fedora8 start to add yum source for fast upgrade and update

Source: Internet
Author: User
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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.