Linux - NewbieThis 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
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.
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.
checkRoot() {
uid=`id -u`
if [ 0 -eq $uid ] ; then
IS_ROOT=1
A couple things jump out @ me:
This should be installed as root, I know that's bad practice in some senses, but mb "USER="whoami"" and IS_ROOT=0 are problems. The version of R is also wrong.
Also - the fact that it shebangs from /bin/bash...should that be a directory that is either root or related to the Java directory or where my bashrc and profile files are?
Usually things are installed as root, there is nothing wrong with that. You need to check the documentation if that software should (or should not) be installed as root.
shebang is ok, it is not related to java at all and the location of the files you mentioned. But it is not the whole script, just the beginning.
I have no idea what is that R
There's a lot of stuff here. I'm going to post everything Java related in the install script in .jpeg files...don't sweat a quick response on this one. I appreciate the help.
(edit: I guess it's only 3 jpeg's)
Usually things are installed as root, there is nothing wrong with that. You need to check the documentation if that software should (or should not) be installed as root.
shebang is ok, it is not related to java at all and the location of the files you mentioned. But it is not the whole script, just the beginning.
I have no idea what is that R
R is the functional statistical computing language which is kind of the backbone of the software. DeployR is based on R but does a lot more stuff. So it requires a separate install of R as a prerequisite (mentioned in deployr install link in my first post, and which I think I've done correctly. But there's no way to know because all checks for R in the script come after the Java check that is failed lol. So that might be a problem too but one thing at a time. It is 5:17 am where I am so going to sleep now but ty v much for your help and time.
There's a lot of stuff here. I'm going to post everything Java related in the install script in .jpeg files...don't sweat a quick response on this one. I appreciate the help.
(edit: I guess it's only 3 jpeg's) Attachment 19659
AWS support just got back to me - they were able to install it without any trouble and gave me all the input and output they used. So Ill try that, let you know if it works, and be back tmrw.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.