Install 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. You can install Atomic by following step 1 in this article.

Yum Command To Install python-setuptools:

bash

  1. yum install python-setuptools

An example of a python-setuptools install is below.

Example Of python-setuptools Being Installed:

bash

  1. [root@server ~]# yum install python-setuptools
  2. Loading "fastestmirror" plugin
  3. Loading mirror speeds from cached hostfile
  4. * base: pubmirrors.reflected.net
  5. * updates: mirrors.serveraxis.net
  6. * addons: mirror.anl.gov
  7. * ruby: repo.premiumhelp.eu
  8. * extras: mirror.sanctuaryhost.com
  9. Setting up Install Process
  10. Parsing package install arguments
  11. Resolving Dependencies
  12. --> Running transaction check
  13. ---> Package python-setuptools.noarch 0:0.6c5-2.el5 set to be updated
  14. --> Finished Dependency Resolution
  15.  
  16. Dependencies Resolved
  17.  
  18. =============================================================================
  19. Package Arch Version Repository Size
  20. =============================================================================
  21. Installing:
  22. python-setuptools noarch 0.6c9-2.el5 base 479 k
  23.  
  24. Transaction Summary
  25. =============================================================================
  26. Install 1 Package(s)
  27. Update 0 Package(s)
  28. Remove 0 Package(s)
  29.  
  30. Total download size: 479 k
  31. Is this ok [y/N]: y
  32. Downloading Packages:
  33. (1/1): python-setuptools- 100% |=========================| 479 kB 00:00
  34. Running rpm_check_debug
  35. Running Transaction Test
  36. Finished Transaction Test
  37. Transaction Test Succeeded
  38. Running Transaction
  39. Installing: python-setuptools ######################### [1/1]
  40.  
  41. Installed: python-setuptools.noarch 0:0.6c5-2.el5
  42. Complete!

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

Yum Command To Install python-setuptools-devel:

bash

  1. yum install python-setuptools-devel

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

Example Of python-setuptools-devel Being Installed:

bash

  1. [root@server ~]# yum install python-setuptools-devel
  2. Loaded plugins: fastestmirror
  3. Loading mirror speeds from cached hostfile
  4. * atomic: www.atomicorp.com
  5. * rpmforge: ftp-stud.fht-esslingen.de
  6. * base: mira.sunsite.utk.edu
  7. * updates: dist1.800hosting.com
  8. * addons: www.cyberuse.com
  9. * extras: pubmirrors.reflected.net
  10. Setting up Install Process
  11. Parsing package install arguments
  12. Resolving Dependencies
  13. --> Running transaction check
  14. ---> Package python-setuptools-devel.noarch 0:0.6c9-2.el5.art set to be updated
  15. --> Finished Dependency Resolution
  16.  
  17. Dependencies Resolved
  18.  
  19. ====================================================================================================================================
  20. Package Arch Version Repository Size
  21. ====================================================================================================================================
  22. Installing:
  23. python-setuptools-devel noarch 0.6c9-2.el5.art atomic 41 k
  24.  
  25. Transaction Summary
  26. ====================================================================================================================================
  27. Install 1 Package(s)
  28. Update 0 Package(s)
  29. Remove 0 Package(s)
  30.  
  31. Total download size: 41 k
  32. Is this ok [y/N]: y
  33. Downloading Packages:
  34. python-setuptools-devel-0.6c9-2.el5.art.noarch.rpm | 41 kB 00:00
  35. Running rpm_check_debug
  36. Running Transaction Test
  37. Finished Transaction Test
  38. Transaction Test Succeeded
  39. Running Transaction
  40. Installing : python-setuptools-devel [1/1]
  41.  
  42. Installed: python-setuptools-devel.noarch 0:0.6c9-2.el5.art
  43. Complete!

Learning Python: Powerful Object-Oriented Programming (Paperback)


List Price: $54.99
New From: $18.86 USD In Stock
Used from: $5.69 USD In Stock

Python Essential Reference (4th Edition) (Paperback)


List Price: $49.99 USD
New From: $20.99 USD In Stock
Used from: $14.64 USD In Stock

Share