I am Hack Sparrow
Captain of the Internets.

Ubuntu: how to install easy_install

Installing easy_install on Ubuntu

So you need easy_install for something on Ubuntu? Installing it is very easy, just follow the instructions below.

$ sudo apt-get install python-setuptools

And that's it! Yes, that's all you need to do and you will have easy_install available at the command prompt.

In case you are wondering, easy_install is a Python module which comes as a part of the Python setuptools, so installing setuptools automatically installs easy_install along with it. easy_install is used for installing and managing Python packages.

Exercise

  1. How do you install easy_install independent of setuptools? What are the repercussions of such an act?
  2. What is setuptools used for?

References
  1. easy_install
  2. setuptools

5 Responses to “Ubuntu: how to install easy_install”

  1. Andrew Maurer says:

    Thanks! Just what I needed

  2. Frontware International says:

    The correct command is:

    sudo apt-get install python-setuptools

  3. Captain says:

    Oops, fixed.

  4. phraon says:

    exactly what i wanted !!
    thanks.

  5. Hugo Volkaert says:

    I guess it is not always that easy…

    sudo apt-get install python-setuptools
    Reading package lists… Error!
    E: Encountered a section with no Package: header
    E: Problem with MergeList /var/lib/apt/lists/packages.linuxmint.com_dists_olivia_import_i18n_Translation-en
    E: The package lists or status file could not be parsed or opened.

    what to do next?

Make a Comment