LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-30-2012, 09:08 AM   #1
yaximik
Member
 
Registered: Nov 2010
Posts: 87

Rep: Reputation: 0
Python local instal?


Hi,

My RHEL58 and SciLinux55 are based on Python 2.4, which is not supported by the current Galaxy distribution. I while ago I was advised not to mess with system Python, but being unhealthy curious, I tried to install 2.6 and then had to reinstall SciLinux55 from scratch. Question - can I make just local install of Python 2.7 without messing up the system one? How to make sure I do not get the system messed up?
 
Old 10-30-2012, 11:40 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Python-2.6 : #yum install python26 : The EPEL repo https://fedoraproject.org/wiki/EPEL

yum search python26 : Will show all python26 packages.

I guess you can build a "python27" the same way 'python26' was built.
http://dl.fedoraproject.org/pub/epel.../python26.html
> http://dl.fedoraproject.org/pub/epel...-1.el5.src.rpm

Note : No conflicts with the system python 2.4, from the above.

.

Last edited by knudfl; 10-30-2012 at 11:43 AM.
 
1 members found this post helpful.
Old 10-31-2012, 09:49 AM   #3
yaximik
Member
 
Registered: Nov 2010
Posts: 87

Original Poster
Rep: Reputation: 0
python local install [SOLVED]

Quote:
Originally Posted by knudfl View Post
Python-2.6 : #yum install python26 : The EPEL repo https://fedoraproject.org/wiki/EPEL

yum search python26 : Will show all python26 packages.

I guess you can build a "python27" the same way 'python26' was built.
http://dl.fedoraproject.org/pub/epel.../python26.html
> http://dl.fedoraproject.org/pub/epel...-1.el5.src.rpm

Note : No conflicts with the system python 2.4, from the above.

.
Thanks. I still did not try to risk as yum also depends on system python and I am not sure how it works. After all, system-wide updates also done with yum. So I just downloaded the source to my home directory on the smaller SciLinux guinea pig, and README said install is going to go in /usr/local, while system's one resides in /usr/bin and /usr/lib. It also mentioned that RHEL still depends on python 1.7.x, while also uses without problem 2.1 and 2.4. So, after 'configure', 'make', and 'sudo make install' with default options I got everything installed in /usr/local, ensured that in $PATH /usr/local/bin comes before /usr/bin and everything seems fine. Then I made local install of Galaxy and it works just fine. Voila!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Python Python Python (aka Python 3) LXer Syndicated Linux News 0 08-05-2009 09:30 PM
LXer: Review: Programming in Python 3: A Complete Introduction to the Python Language LXer Syndicated Linux News 0 01-26-2009 05:50 AM
video card unrecognised, x components failed during instal. thus instal failed streams &dragonflies Linux - Newbie 2 09-28-2007 03:32 AM
Cant install unsatisfied /usr/local/bin/python/ Fredstar Linux - Newbie 1 02-02-2005 02:12 AM
Problem with perl module for w3c validator to work on my local Apache+PHP+perl instal tbamt Linux - Software 0 12-16-2004 06:37 PM


All times are GMT -5. The time now is 11:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration