Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1001  / 2 Years ago, fri, december 24, 2021, 12:29:30

My question is about how I can install Ubuntu 11.10 packages on Ubuntu 10.04. I would like to install python-envisage (4.0.1), but in the Ubuntu 10.04 Software Center there is only python envisage v3.1.1. Also, the package is renamed from python-envisagecore to python-envisage.


More From » 11.10

 Answers
2

Use some python package manager like: easy_install or pip, both are avaliable from the Software Center.



You should follow this steps:




  1. Remove any Envisage version installed through the Ubuntu package manager or any other way.

  2. Install easy_install.


  3. If the package that you are trying to install has C extensions (and Envisage does), you will need at to install at least this packages: build-essentials, python-dev. The points 2 and 3 can be both done with one command



    sudo apt-get install python-setup-tools python-dev build-essentials


  4. Finally open the console and type:



    sudo easy_install envisage




This should install version 4.0.0 (by fetching it from the official repos and compiling it, it will take a while).



You can install any package from the official python repos just with



sudo easy_install package


Pip works in a similar way, but it provides a uninstall facility. The main easy_install advantage is its popularity. If you want to use pip you will need to install the python-pip package instead of python-setuptools and use the following command (not tested):



pip install envisage

[#41888] Saturday, December 25, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
atelti

Total Points: 194
Total Questions: 129
Total Answers: 110

Location: North Korea
Member since Tue, Jun 16, 2020
4 Years ago
atelti questions
Fri, Aug 26, 22, 02:44, 2 Years ago
Sat, Dec 10, 22, 21:37, 1 Year ago
Sat, Apr 9, 22, 13:57, 2 Years ago
;