LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > ROCK
User Name
Password
ROCK This forum is for the discussion of ROCK Linux.

Notices


Reply
  Search this Thread
Old 05-18-2016, 08:42 PM   #1
dyson
LQ Newbie
 
Registered: May 2016
Posts: 3

Rep: Reputation: Disabled
Where to find new versions of Python after installing Python roll


I am totally new to using Rocks, so I'm guessing this question has a pretty simple answer. I just installed the Python roll located here, and I believe it was successful (I received appropriate output at every step, with no errors). However, when I type 'python' in the terminal, it still brings up Python 2.6.6, which is the system's version of Python.

I looked around for Python 2.7.x or Python 3.x (both of which should have been installed with the roll), and I cannot find them in /export/apps or anywhere in /usr . So I'm trying to figure out 1) where the new versions of Python are installed, and 2) how can I use them instead of the system's version of Python? Thanks in advance for the help.
 
Old 05-19-2016, 07:04 AM   #2
HMW
Member
 
Registered: Aug 2013
Location: Sweden
Distribution: Debian, Arch, Red Hat, CentOS
Posts: 773
Blog Entries: 3

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Try the following commands (provided that you have which installed):
Code:
which python
and
Code:
which python3
Normally they (should) end up in:
Code:
/usr/bin/python
and
Code:
/usr/bin/python3
But I know nothing about ROCKS (you do know that it has been discontinued by the way?).

Best regards,
HMW

Last edited by HMW; 05-19-2016 at 07:05 AM. Reason: Spelling
 
Old 05-19-2016, 07:40 AM   #3
dyson
LQ Newbie
 
Registered: May 2016
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks for the ideas. The command 'which python' gave /usr/bin/python, but the command 'which python3' gave nothing, unfortunately (at least, it couldn't find python3 anywhere in my path). I'm pretty sure /usr/bin/python is the system python. And no, I didn't know that Rocks has been discontinued. Thanks for letting me know.
 
Old 05-19-2016, 08:13 AM   #4
HMW
Member
 
Registered: Aug 2013
Location: Sweden
Distribution: Debian, Arch, Red Hat, CentOS
Posts: 773
Blog Entries: 3

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Have you checked under /opt? Might be there. But it is strange it SHOULD be in either
/usr/bin/python3
or
/usr/local/bin/python3

Otherwise, try find:
Code:
find / -iname python3
Also, I misread. I thought you meant ROCK linux. Not Rocks linux. The former has been discontinued, not the latter (what I know of).

Best regards,
HMW
 
Old 05-19-2016, 11:06 AM   #5
dyson
LQ Newbie
 
Registered: May 2016
Posts: 3

Original Poster
Rep: Reputation: Disabled
Oh yeah, sorry, I'm talking about the Rocks cluster management software. (There are several threads in this forum related to it, so I thought it was okay to post here.) From what I understand, adding a Rocks "roll" installs the program (in this case Python) in such a way that it works across all nodes of the cluster. I'm just not sure that it works in the same way as installing a program on an individual machine...I guess the question is, when "adding a roll," should I expect to find binary executable files in /usr/bin or /usr/local/bin ... ?
 
  


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
I got error while installing python-tk python-psycopg2 python-twisted saili kadam Linux - Newbie 1 09-05-2015 04:03 AM
[SOLVED] Installing Python 2.7.3 on Slackware 13.37 with Python 2.6.6 on it dc_eros Slackware 4 10-16-2012 10:30 PM
Installing Python 2.7.2 and python-devel on CentOS 5.7 iwitham Linux - Software 1 03-21-2012 06:14 PM
Python 2.6 dependencies error installing python-sqlite2-2.5.5-1.1.i586.rpm jmp007 Linux - Newbie 1 02-11-2011 12:05 PM
installing python library's (Python Numeric) Four Linux - Newbie 1 10-16-2005 03:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > ROCK

All times are GMT -5. The time now is 09:54 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
Open Source Consulting | Domain Registration