Build Yum's Epel source and Pip

Source: Internet
Author: User
Tags gpg yum repolist

The EPEL (Extra Packages for Enterprise Linux, an additional software package for Enterprises Linux) is a repository project maintained by the Fedora team, providing Rhel/centos with packages that they do not provide by default. This source is compatible with Rhel and derivative versions such as CentOS and Scientific Linux.

We can easily get tens of thousands of software from the Epel source that are not available on the CentOS self-sourced source via the Yum command. Most of the packages provided by Epel are based on their corresponding Fedora packages and do not conflict with or replace files with the Enterprise Linux distribution software.


hint -Rhel/centos system has many third-party sources, more popular such as Rpmforge,rpmfusion,epel,remi and so on.

However, it is important to note that if the system adds more than one third-party source, there may be a conflict-a package can be fetched from multiple sources, and some sources will replace the system's underlying package, potentially creating unexpected errors. There are rpmforge and Epel that are known to have conflicts.

For these issues we recommend that you adjust the priority of the source or a selective installation source, but this requires complex operations, and if you are unsure how to do this, we recommend that you install only a third-party source.

1. Confirm the version of your CentOS

Cat/etc/redhat-release


Installation method of 2.epel:

The repo configuration file addresses are as follows:

Centos5

32-bit: www.lishiming.net/data/attachment/forum/epel-release-5-4_32.noarch.rpm

64-bit: www.lishiming.net/data/attachment/forum/epel-release-5-4_64.noarch.rpm

Centos6

32-bit: www.lishiming.net/data/attachment/forum/epel-release-6-8_32.noarch.rpm

64-bit: www.lishiming.net/data/attachment/forum/epel-release-6-8_64.noarch.rpm

After the #cd/etc/yum.repo.d, wget downloads the version that you are responding to.

RPM-IVH epel-release*

RPM--import/etc/pki/rpm-gpg/rpm-gpg-key-epel-6


3.yum Clean all && yum update then Yum repolist see tens of thousands of packages on Epel source


1. Pip Download and install

wget "HTTPS://PYPI.PYTHON.ORG/PACKAGES/SOURCE/P/PIP/PIP-1.5.4.TAR.GZ#MD5=834B2904F92D46AAA333267FB1C922BB"-- No-check-certificate


2.PIP Installation

# TAR-XZVF Pip-1.5.4.tar.gz

# CD pip-1.5.4

# python setup.py Install

3.PIP installation Package

Pip Install *


4. View the packages that have been installed

Pip Show--files *


5. Check for packages that need to be updated

Pip List--outdated


6. Check which packages need to be upgraded

Pip List--outdated


7.PIP Upgrade Package

Pip Install--upgrade package name


8.PIP Unload Package

Pip Uninstall Package name


This article is from the "11422312" blog, please be sure to keep this source http://11432312.blog.51cto.com/11422312/1827441

Build Yum's Epel source and Pip

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.