Re: [Ubuntu-BD] Upgrading Python Version
On Sun, Aug 9, 2009 at 3:53 PM, maSnun mas...@gmail.com 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 compile from source, i'm afraid. -- 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
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 tar zxvf Python-2.6.tgz then cd Python-2.6 ./configure --prefix=/home/sofeng/lib/python2.6 Then make then ./python then make test make install sorry it's really long step... or u can get help from below link which one for update by apt-get http://ubuntuforums.org/showthread.php?t=995050 Thanks On Sun, Aug 9, 2009 at 2:53 PM, maSnun mas...@gmail.com 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. -- Abu Ashraf Masnun Grad Student, BBA, Khulna University. http://masnun.com -- Ubuntu Bangladesh | http://ubuntu-bd.org ubuntu-bd@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bd -- Azim Charles Freelancer System Engineer(Network OS) Open source Consultant (Ubuntu,Open solaris,vyatta router,ipcop) ~~Be Linux, Be Open Source, ~~Get Freedom~~ . -- 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
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 azim.char...@gmail.com wrote: 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 tar zxvf Python-2.6.tgz then cd Python-2.6 ./configure --prefix=/home/sofeng/lib/python2.6 Then make then ./python then make test make install sorry it's really long step... or u can get help from below link which one for update by apt-get http://ubuntuforums.org/showthread.php?t=995050 Thanks On Sun, Aug 9, 2009 at 2:53 PM, maSnun mas...@gmail.com 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. -- Abu Ashraf Masnun Grad Student, BBA, Khulna University. http://masnun.com -- Ubuntu Bangladesh | http://ubuntu-bd.org ubuntu-bd@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bd -- Azim Charles Freelancer System Engineer(Network OS) Open source Consultant (Ubuntu,Open solaris,vyatta router,ipcop) ~~Be Linux, Be Open Source, ~~Get Freedom~~ . -- Azim Charles Freelancer System Engineer(Network OS) Open source Consultant (Ubuntu,Open solaris,vyatta router,ipcop) ~~Be Linux, Be Open Source, ~~Get Freedom~~ . -- 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
@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
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 le...@phpxperts.net wrote: @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 -- Azim Charles Freelancer System Engineer(Network OS) Open source Consultant (Ubuntu,Open solaris,vyatta router,ipcop) ~~Be Linux, Be Open Source, ~~Get Freedom~~ . -- 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
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 On Sun, Aug 9, 2009 at 5:52 AM, Azim Charles azim.char...@gmail.com wrote: 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 le...@phpxperts.net wrote: @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 -- Azim Charles Freelancer System Engineer(Network OS) Open source Consultant (Ubuntu,Open solaris,vyatta router,ipcop) ~~Be Linux, Be Open Source, ~~Get Freedom~~ . -- Ubuntu Bangladesh | http://ubuntu-bd.org ubuntu-bd@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bd -- 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
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 9, 2009 at 5:06 AM, Azim Charles azim.char...@gmail.com wrote: 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 tar zxvf Python-2.6.tgz then cd Python-2.6 ./configure --prefix=/home/sofeng/lib/python2.6 Then make then ./python then make test make install sorry it's really long step... or u can get help from below link which one for update by apt-get http://ubuntuforums.org/showthread.php?t=995050 Thanks On Sun, Aug 9, 2009 at 2:53 PM, maSnun mas...@gmail.com 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. -- Abu Ashraf Masnun Grad Student, BBA, Khulna University. http://masnun.com -- Ubuntu Bangladesh | http://ubuntu-bd.org ubuntu-bd@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bd -- Azim Charles Freelancer System Engineer(Network OS) Open source Consultant (Ubuntu,Open solaris,vyatta router,ipcop) ~~Be Linux, Be Open Source, ~~Get Freedom~~ . -- Ubuntu Bangladesh | http://ubuntu-bd.org ubuntu-bd@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bd -- 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
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 mas...@gmail.com 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, 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 9, 2009 at 5:06 AM, Azim Charles azim.char...@gmail.com wrote: 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 tar zxvf Python-2.6.tgz then cd Python-2.6 ./configure --prefix=/home/sofeng/lib/python2.6 Then make then ./python then make test make install sorry it's really long step... or u can get help from below link which one for update by apt-get http://ubuntuforums.org/showthread.php?t=995050 Thanks On Sun, Aug 9, 2009 at 2:53 PM, maSnun mas...@gmail.com 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. -- Abu Ashraf Masnun Grad Student, BBA, Khulna University. http://masnun.com -- Ubuntu Bangladesh | http://ubuntu-bd.org ubuntu-bd@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bd -- Azim Charles Freelancer System Engineer(Network OS) Open source Consultant (Ubuntu,Open solaris,vyatta router,ipcop) ~~Be Linux, Be Open Source, ~~Get Freedom~~ . -- Ubuntu Bangladesh | http://ubuntu-bd.org ubuntu-bd@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bd -- Ubuntu Bangladesh | http://ubuntu-bd.org ubuntu-bd@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bd -- Azim Charles Freelancer System Engineer(Network OS) Open source Consultant (Ubuntu,Open solaris,vyatta router,ipcop) ~~Be Linux, Be Open Source, ~~Get Freedom~~ . -- Ubuntu Bangladesh | http://ubuntu-bd.org ubuntu-bd@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bd