ROCK This forum is for the discussion of ROCK Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-18-2016, 08:42 PM
|
#1
|
LQ Newbie
Registered: May 2016
Posts: 3
Rep:
|
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.
|
|
|
05-19-2016, 07:04 AM
|
#2
|
Member
Registered: Aug 2013
Location: Sweden
Distribution: Debian, Arch, Red Hat, CentOS
Posts: 773
|
Try the following commands (provided that you have which installed):
and
Normally they (should) end up in:
and
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
|
|
|
05-19-2016, 07:40 AM
|
#3
|
LQ Newbie
Registered: May 2016
Posts: 3
Original Poster
Rep:
|
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.
|
|
|
05-19-2016, 08:13 AM
|
#4
|
Member
Registered: Aug 2013
Location: Sweden
Distribution: Debian, Arch, Red Hat, CentOS
Posts: 773
|
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
|
|
|
05-19-2016, 11:06 AM
|
#5
|
LQ Newbie
Registered: May 2016
Posts: 3
Original Poster
Rep:
|
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 ... ?
|
|
|
All times are GMT -5. The time now is 09:54 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|