Use a third-party rpmfusion source repository in CentOS 5.x

Source: Internet
Author: User
Tags yum repolist

In CentOS 5. in the process of X, although the software packages in the source warehouse are much more comprehensive than the Redhat, there are still many commonly used packages. At this time, we need to use the third-party source warehouse, I am using the rpmfusion source, which is relatively fast and the software package is complete.

1. view the YUM enabled by the System

[Root @ server ~] # Yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* Base: mirrors.btte.net
* Extras: mirrors.btte.net
* Updates: mirrors.btte.net
Repo id repo name status
Addons CentOS-5-Addons enabled: 0
Base CentOS-5-Base enabled: 2,725
Extras CentOS-5-Extras enabled: 282
Updates CentOS-5-Updates enabled: 858
# Rpmfusion source not enabled

2. Install the rpmfusion repository package (install the epel-release package before that)
32-bit:

[Root @ server ~] # Rpm-ivhhttp: // mirrors.ustc.edu.cn/fedora/epel/5/ I #/epel-release-5-4.noarch.rpm
Retrievinghttp: // mirrors.ustc.edu.cn/fedora/epel/5/ I #/epel-release-5-4.noarch.rpm
Warning:/var/tmp/rpm-xfer.AJYJu6: Header V3 DSA signature: NOKEY, key ID 217521f6
Preparing... ######################################## ### [100%]
1: epel-release ##################################### ###### [100%]

[Root @ server ~] # Rpm-ivhhttp: // configure
Retrievinghttp: // response
Retrievinghttp: // response
Warning:/var/tmp/rpm-xfer.XlgX0E: Header V3 DSA signature: NOKEY, key ID e74f0522
Warning:/var/tmp/rpm-xfer.ErMur0: Header V3 DSA signature: NOKEY, key ID ab194290
Preparing... ######################################## ### [100%]
1: rpmfusion-free-release ################################### ####### [1, 50%]
2: rpmfusion-nonfree-relea ################################### ####### [1, 100%]

64-bit:

[Root @ server ~] # Rpm-ivhhttp: // mirrors.ustc.edu.cn/fedora/epel/5/x86_64/epel-release-5-4.noarch.rpm

[Root @ server ~] # Rpm-ivhhttp: // configure

3. Recreate the YUM Cache

[Root @ server ~] # Yum clean all & yum makecache
Loaded plugins: fastestmirror
Cleaning up Everything
Cleaning up list of fastest mirrors
Loaded plugins: fastestmirror
Determining fastest mirrors
* Base: centos.ustc.edu.cn
* Epel: mirrors.ustc.edu.cn
* Extras: centos.ustc.edu.cn
* Rpmfusion-free-updates: mirrors.ustc.edu.cn
* Rpmfusion-nonfree-updates: mirrors.ustc.edu.cn
* Updates: centos.ustc.edu.cn
Addons | 1.9 kB: 00
Addons/filelists_db | 564 B
Addons/other_db | 552 B: 00
Addons/primary_db | 1.1 kB: 00
Base | 1.1 kB
Base/filelists | 3.0 MB 0:04
Base/other | 10 MB
Base/group | 1.1 MB
Base/primary | 967 kB
Epel | 3.7 kB: 00
Epel/filelists_db | 4.8 MB
Epel/updateinfo | 465 kB
Epel/other_db | 1.9 MB
Epel/group_gz | 168 kB
Epel/primary_db | 3.1 MB
Extras | 2.1 kB: 00
Extras/filelists_db | 214 kB
Extras/other_db | 426 kB
Extras/group | 9.7 kB: 00
Extras/primary_db | 171 kB: 03
Rpmfusion-free-updates | 2.8 kB: 00
Rpmfusion-free-updates/filelists_db | 37 kB: 00
Rpmfusion-free-updates/other_db | 28 kB: 00
Rpmfusion-free-updates/group_gz | 1.4 kB
Rpmfusion-free-updates/primary_db | 63 kB
Rpmfusion-nonfree-updates | 2.8 kB
Rpmfusion-nonfree-updates/filelists_db | 8.6 kB
Rpmfusion-nonfree-updates/other_db | 7.9 kB
Rpmfusion-nonfree-updates/group_gz | 1.4 kB
Rpmfusion-nonfree-updates/primary_db | 18 kB: 00
Updates | 1.9 kB: 00
Updates/filelists_db | 3.2 MB
Updates/other_db | 15 MB 05:26
Updates/primary_db | 757 kB
Base 2725/2725
Base 2725/2725
Base 2725/2725
Metadata Cache Created

4. Verify the enabled YUM

[Root @ server ~] # Yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* Base: centos.ustc.edu.cn
* Epel: mirrors.ustc.edu.cn
* Extras: centos.ustc.edu.cn
* Rpmfusion-free-updates: mirrors.ustc.edu.cn
* Rpmfusion-nonfree-updates: mirrors.ustc.edu.cn
* Updates: centos.ustc.edu.cn
Repo id repo name status
Addons CentOS-5-Addons enabled: 0
Base CentOS-5-Base enabled: 2,725
Epel Extra Packages for Enterprise Linux 5-enabled: 5,814
Extras CentOS-5-Extras enabled: 282
Rpmfusion-free-updates RPM Fusion for EL 5-Free-Updates enabled: 95
Rpmfusion-nonfree-updates RPM Fusion for EL 5-Nonfree-Updates enabled: 26
Updates CentOS-5-Updates enabled: 858
Repolist: 9,800
# Rpmfusion source Enabled

Reproduced http://300second.blog.51cto.com/7582/1007598

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.