Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have Ubuntu 10.04 with python2.6 by default. I have installed python2.7. When I want to install python packages with apt-get python- it gets installed to python2.6. How can I make it to install to python2.7, is there any options?

I have considered using easy_install-2.7 but not all packages are supported. For example python-torctl. I am more interested in binding python2.7 with apt-get install.

share|improve this question
Cross posted on stackoverflow:… – James Jun 9 '12 at 13:42

If you need to have all versions of Python that are supported by Python-Markdown installed, you need to Take a look at this and This

share|improve this answer
But I have already installed python2.7 there was no problem with installation, I am just interested in apt-get install – torayeff Jun 9 '12 at 12:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.