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.
I did a little more research. So i tried this
[root@tbarden so]# ./so-5_2-ga-bin-linux-en.bin
and got this
bash: ./so-5_2-ga-bin-linux-en.bin: Permission denied
I downloaded it as root and am signed in as root, why would permission be denied?
yeah you have to do that chmod 755 before you attempt to run that file. Try to run it as a normal user becuase if you install it as root then sometimes it wont let you open it as a user, been there done that so be careful what you do.
Edit: Just saw your reply above, I will try it as a normal user.
Ok chmod 755 worked. Then i ./so---.bin and installation begins. It defaults /root/office52 for installation directory. If I put it there will it still be accessable if I am not logged in as root?
Ok, i downloaded j2sdk-1_3_1-src.tar.gz and extracted it to usr/java . I guess the next step is to add that to my path, or so I have heard. But I am not sure how to do that.
no, that's the sdk (Standard Delvelopemtn Kit), which IS java, the jre IS included in the sdk tho, but the jre is much smaller, if you don't want to use up all the space.
Ok, that is fine. I actually plan on do some programming once I learn how to get everything running. Do I need to add it to my path for SO or other applications that may use it? If so, how do I do that? Thanks!
No, the file ends in src.tar.gz, which shows that it's a compressed file (like Window's .ZIP files), and that it a source file (as they usually are under Linux). You'll need to install it first.
Move to a sensible directory (I use /home/thymox/files) and then unzip/tar it (tar -zxpvf /whereveryoudownloadeditto/something.tar.gz). There will almost definitely be a README file in there, and probably an INSTALL file. Read them.
The tar extracted about 11,000 files. I read the readme file but that was not helpful. Did not see an intstall file. I found a makefile but I do not know if I am supposed to do anything with that. Please help.
I went to the directory containing the makefile and this is what I got.
[root@tbarden make]# make install
make: *** No rule to make target `install'. Stop.
Did you do the ./configure and the make parts first?
The configure script (what you run when you type ./configure) normally makes a new makefile, unless there are errors. This make file is used when you run make, and creates an executable (normally) in the current directory, unless there are errors. Running make install will only work if a) you've not had any errors, and b) there is a need to.
Unfortunately some programs do not include the make install routine, so typing it would not do anything. This is normally because different Linux distros keep their files in different places.
It sounds like it is the latter (no 'make install' routine in the makefile). Look around for docs on where you should copy your JRE files to, and then do so.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.