Re: [Ubuntu-BD] Upgrading Python Version

2009-08-09 Thread Azim Charles
Check ur current python version "python -V" may be u can access python2.5 by typing python2.5 On Sun, Aug 9, 2009 at 6:55 PM, maSnun wrote: > I have compiled from the source. Now I have python 2.6 in > /home/masnun/lib/python2.6/bin . > > But when I type something like "python file.py", i

Re: [Ubuntu-BD] Upgrading Python Version

2009-08-09 Thread maSnun
Sorry for continuous replies. I finally made it. It was quite easy and simple. I just downloaded the source using wget. Extracted it. Changed directory to the extracted one. Executed "./configure" Then "sudo make install" That did the job for me. Now typing "python" invokes Python 2.6 while I

Re: [Ubuntu-BD] Upgrading Python Version

2009-08-09 Thread maSnun
I have compiled from the source. Now I have python 2.6 in /home/masnun/lib/python2.6/bin . But when I type something like "python file.py", it uses the old version. Is there any way to replace the old one ? -- Abu Ashraf Masnun Grad Student, BBA, Khulna University. http://masnun.com On Sun, Aug

Re: [Ubuntu-BD] Upgrading Python Version

2009-08-09 Thread maSnun
My synaptic has Python 2.5, 2.4 and others. Is there a way I can add the official jaunty deb packages source to my synaptic ? I tried adding "deb http://archive.canonical.com/ubuntu jaunty main". But it doesn't work. :( -- Abu Ashraf Masnun Grad Student, BBA, Khulna University. http://masnun.com

Re: [Ubuntu-BD] Upgrading Python Version

2009-08-09 Thread Azim Charles
It's cool Lenin vai.. BUt i could not able to check nowbecause now i m at CentOS at my office. Lenin vai i think ur solution is Best. :) Thanks On Sun, Aug 9, 2009 at 3:40 PM, Lenin wrote: > @Masnun: > > Before asking if you opened your Synaptic and searched for python you might > hav

Re: [Ubuntu-BD] Upgrading Python Version

2009-08-09 Thread Lenin
@Masnun: Before asking if you opened your Synaptic and searched for python you might have already found python2.6 :) I found it already in my repo and installed as well. -- Ubuntu Bangladesh | http://ubuntu-bd.org ubuntu-bd@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bd

Re: [Ubuntu-BD] Upgrading Python Version

2009-08-09 Thread Azim Charles
sudo apt-get update sudo apt-get install python2.6 if not work then check the repositories and add package. Regards On Sun, Aug 9, 2009 at 3:06 PM, Azim Charles wrote: > u can use "wget" > > suppose u r download ur file at /home/dw directory > > then command look like bellow > > cd /home/dw

Re: [Ubuntu-BD] Upgrading Python Version

2009-08-09 Thread Azim Charles
u can use "wget" suppose u r download ur file at /home/dw directory then command look like bellow cd /home/dw wget http://www.python.org/ftp/python/2.6/Python-2.6.tgz ##now compile and install the source (Sry u do not like but i have no way:( ..) Go to source directory and put bellow code ta

Re: [Ubuntu-BD] Upgrading Python Version

2009-08-09 Thread Lenin
On Sun, Aug 9, 2009 at 3:53 PM, maSnun wrote: > On my Ubuntu 8.10, I have Python 2.5. I want to upgrade to 2.6. Is there > any > way to install it without compiling from source ? > > I'd have liked a "sudo apt-get " like command. If the later version is not in the repo then you'd have to compil

[Ubuntu-BD] Upgrading Python Version

2009-08-09 Thread maSnun
On my Ubuntu 8.10, I have Python 2.5. I want to upgrade to 2.6. Is there any way to install it without compiling from source ? I'd have liked a "sudo apt-get " like command. -- Abu Ashraf Masnun Grad Student, BBA, Khulna University. http://masnun.com -- Ubuntu Bangladesh | http://ubuntu-bd.org ub