Chủ Nhật, 3 tháng 5, 2015

Install python easy_install via yum on Linux CentOS Server

To install easy_install on Linux using yum you will need to install the python-setuptools and python-setuptools-devel packages. Installing these packages with yum is easy by following the directions below.

Both of these packages were installed using the Atomic repository.

Yum Command To Install python-setuptools:
yum install python-setuptools

An example of a python-setuptools install is below.

Example Of python-setuptools Being Installed:
[root@server ~]# yum install python-setuptools
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* base: pubmirrors.reflected.net
* updates: mirrors.serveraxis.net
* addons: mirror.anl.gov
* ruby: repo.premiumhelp.eu
* extras: mirror.sanctuaryhost.com
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package python-setuptools.noarch 0:0.6c5-2.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
python-setuptools noarch 0.6c9-2.el5 base 479 k

Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 479 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): python-setuptools- 100% |=========================| 479 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: python-setuptools ######################### [1/1]

Installed: python-setuptools.noarch 0:0.6c5-2.el5
Complete!

You will also need to install python-setuptools-devel as displayed below.

Yum Command To Install python-setuptools-devel:
yum install python-setuptools-devel

An example of python-setuptools-devel being displayed is below.

Example Of python-setuptools-devel Being Installed:
[root@server ~]# yum install python-setuptools-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* atomic: www.atomicorp.com
* rpmforge: ftp-stud.fht-esslingen.de
* base: mira.sunsite.utk.edu
* updates: dist1.800hosting.com
* addons: www.cyberuse.com
* extras: pubmirrors.reflected.net
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package python-setuptools-devel.noarch 0:0.6c9-2.el5.art set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================
Installing:
python-setuptools-devel noarch 0.6c9-2.el5.art atomic 41 k

Transaction Summary
====================================================================================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 41 k
Is this ok [y/N]: y
Downloading Packages:
python-setuptools-devel-0.6c9-2.el5.art.noarch.rpm | 41 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : python-setuptools-devel [1/1]

Installed: python-setuptools-devel.noarch 0:0.6c9-2.el5.art
Complete!

Share This!


Không có nhận xét nào:

Đăng nhận xét