LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Extra repo containign latest version of Python 3 for CenOS 6.4 (https://www.linuxquestions.org/questions/linux-newbie-8/extra-repo-containign-latest-version-of-python-3-for-cenos-6-4-a-4175464523/)

NikosGr 06-03-2013 01:49 AM

Extra repo containign latest version of Python 3 for CenOS 6.4
 
Hello,

Is there an extra repository for yum, CentOS v6.4 i'm using so to install 'yum install python3.3.2' ?

I'm looking hours for this and i cannot find any.

evo2 06-03-2013 02:19 AM

Hi,

http://wiki.centos.org/AdditionalResources/Repositories is always my first stop when looking for 3rd party repors for CentOS and friends.

A quick search on that page for "python" lead me to http://iuscommunity.org/ which seems to have what you are looking for.

Evo2.

Madhu Desai 06-03-2013 03:33 AM

PUIAS Computational Repository provides python 3.3.0.

Install Howto:
x86: http://pkgs.org/centos-6-rhel-6/puia....i686.rpm.html
x86_64: http://pkgs.org/centos-6-rhel-6/puia...86_64.rpm.html

But if you want to install Python 3.3.2, then compile it from source (thats what i did)
I dont know your linux skill level, so i'm giving every step.

Code:

$ mkdir temp
$ cd temp
$ wget http://www.python.org/ftp/python/3.3.2/Python-3.3.2.tar.bz2
$ tar -xjvf Python-3.3.2.tar.bz2
$ cd Python-3.3.2
$ ./configure
$ make && make test
$ su
# make install
# exit
$ $ cd ../ && rm -rf Python-3.3.2
$ python3 -V
Python 3.3.2

Note: before compiling python, i had installed Development tools
Code:

# yum groupinstall "Development tools"
Hope it helped

NikosGr 06-03-2013 03:51 AM

Thank you very much mddesai fro your detailed help.

Do you think that i should yum install python3.3.0 or compiler from source 3.3.2?
Are yum instalaltion system wide and better compared from local instalaltion compiled from source?

Is there somehting better nd new in 3.3.2 opposed to 3.3.0 ?

Madhu Desai 06-03-2013 04:34 AM

Quote:

Originally Posted by NikosGr (Post 4964460)
Do you think that i should yum install python3.3.0 or compiler from source 3.3.2?
Are yum instalaltion system wide and better compared from local instalaltion compiled from source?

YUM install vs compile ... which is better? Although it is for Thunderbird, same can applied for other packages.

Quote:

Is there somehting better nd new in 3.3.2 opposed to 3.3.0 ?
Python 3.3.2 Fixes

NikosGr 11-12-2013 04:58 PM

Quote:

Originally Posted by mddesai (Post 4964457)
PUIAS Computational Repository provides python 3.3.0.

Install Howto:
x86: http://pkgs.org/centos-6-rhel-6/puia....i686.rpm.html
x86_64: http://pkgs.org/centos-6-rhel-6/puia...86_64.rpm.html

But if you want to install Python 3.3.2, then compile it from source (thats what i did)
I dont know your linux skill level, so i'm giving every step.

Code:

$ mkdir temp
$ cd temp
$ wget http://www.python.org/ftp/python/3.3.2/Python-3.3.2.tar.bz2
$ tar -xjvf Python-3.3.2.tar.bz2
$ cd Python-3.3.2
$ ./configure
$ make && make test
$ su
# make install
# exit
$ $ cd ../ && rm -rf Python-3.3.2
$ python3 -V
Python 3.3.2

Note: before compiling python, i had installed Development tools
Code:

# yum groupinstall "Development tools"
Hope it helped

Hello and thank you for helping me.

I have just installed a new vps because the old one was compromised.

Shall i use your instaruction to install latest python or use an .rpm

what is the link to install latest python, 3.4 is what i want ven if its in alpha stage.

is there an rmp for that please?
isnt runnign an rpm better and more easy that compling form scratch?


All times are GMT -5. The time now is 03:10 PM.