Use yum in Fedora8 to install the RPM package

Source: Internet
Author: User
In Linux, a lot of software is usually not solved by installing an RPM package. Many software packages need to be compiled. In this case, the kernel corresponding to the software package and the lib library version of your C language are used, even your gcc compiler may affect software installation. Fortunately, the better the open-source community is now, the vast majority of packages that can be thought of under Fedora8 have rpm, which is not a service anyway, without security and optimization, simply use these RPMs. If the package is directly available on the Fedora installation disk, search for the package in "Add/delete software ".

In Linux, a lot of software is usually not solved by installing an RPM package. Many software packages need to be compiled. In this case, the kernel corresponding to the software package and the lib library version of your C language are used, even your gcc compiler may affect software installation. Fortunately, the better the open-source community is now, the vast majority of packages that can be thought of under Fedora8 have rpm, which is not a service anyway, without security and optimization, simply use these RPMs.

If the package is directly available on the Fedora installation disk, search for the package in "Add/delete software" and find the latest version to help you upgrade the package. If no package exists on the disk, for example, it is troublesome for mplayer to download the package by itself. Using Yellow Dog Updater and Modified (yum) can help you download and install software packages from the configured software library, and even consider the dependencies between software packages. This is the best way to install the software package, with almost no intervention required. I remember that it was quite troublesome to configure yum in the past. The current Fedora8 has been well done and can be used directly. If the official package download speed is too slow, add a third-party software library by yourself, it's really easy to say.

1. Understand yum Configuration
In Fedora8, the yum configuration file is in/etc/yum. conf

[Main]
Cachedir =/var/cache/yum cache directory
Keepcache = 0 determine whether the cache file is to be saved
Debuglevel = 2 debugging level
Logfile =/var/log/yum. log location
Exactarch = 1 this option is useful when yum is updated. It is used to determine whether to update the i686 software package on i386, if option 1 is selected, it will not be updated (how can I try it when I use it? I haven't tried it yet)
The obsoletes = 1 option is described in detail in yum (8). It is a command line parameter. Let's take a look at it later.
Gpgcheck = 1 check whether gpg GNU Privacy Guard can be used for encryption
Plugins = 1 indicates whether the plug-in is displayed. It is necessary to set it to 1. This option is 0 by default.
Metadata_expire = 1800
Installonly_limit = 2

# Put your repos here or in separate files named file. repo
# In/etc/yum. repos. d

Here the so-called repos is actually a software library

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.