PDA

View Full Version : python 2.6 help



perlsyntax
November 27th, 2008, 06:16 PM
How do i install python 2.6 and how do i put python 2.6 in my /usr/local?


i put python 2.6 on unbuntu 8.10

crazyfuturamanoob
November 27th, 2008, 07:53 PM
sudo apt-get install python?

perlsyntax
November 27th, 2008, 08:57 PM
i am install it form a tar file.

crazyfuturamanoob
November 27th, 2008, 09:06 PM
Try putting the files into /usr/bin/Python-2.6 and running the following in terminal:


sudo apt-get update

sudo apt-get install build-essential

cd /usr/bin/Python-2.6

sudo ./configure

Majorix
November 27th, 2008, 10:05 PM
i am install it form a tar file.

Why exactly?

CptPicard
November 28th, 2008, 04:30 AM
Try putting the files into /usr/bin/Python-2.6 and running the following in terminal:


Uh, no no... would rather just unpack into one's home directory and then do



./configure --prefix=/usr/local (or /usr/local/python26)
make
sudo make install


But again... messing with tarball installations of Python when you don't know how to do it doesn't sound sensible :)

wmcbrine
November 28th, 2008, 04:34 AM
sudo apt-get install python?No... he specifically asked about Python 2.6, which isn't in the repos yet (and presumably won't be until 9.04).

perlsyntax
November 30th, 2008, 09:53 PM
I had no prob install it on unbuntu 8.10 and now try to install it on the laptop.