Linux Install

How do I install with the .bin files on Red Hat Linux?
[61 byte] By [tobey1] at [2007-9-27 18:59:11]
# 1
sh ./j2moobaaquack.rpm.binrpm -Uvh j2moobaaquack.rpmAnd then set it up as described in other threads.Bhav
bhaveet at 2007-7-6 21:01:32 > top of Java-index,Desktop,Deploying...
# 2

What do you call the ".bin" file?

If it is an rpm, just switch to root if not by the command su

Then type the command

rpm -ivh j2sdk-1....whateveritis-i386.rpm

If it is a tar file, as root, untar it in a temporary directory and type the command

tar -xzvf tarfile.tar.gz

"tarfile" being the name of the tarred file, ie j2sdk-1.....tar.gz.

then there should be an INSTALL or README file to edit and read.

I hope it answers your question.

en6ecpw at 2007-7-6 21:01:32 > top of Java-index,Desktop,Deploying...
# 3
Go to the directory where <java-file>.bin is.Enter:$chmod a+x <java-file>.bin$./<java-file>.binIt should go through an installation at that point.
jbonik at 2007-7-6 21:01:32 > top of Java-index,Desktop,Deploying...
# 4
For me it bombs everytime, and tells me the bin file is corrupt.
iceman421 at 2007-7-6 21:01:33 > top of Java-index,Desktop,Deploying...
# 5

You do have to make the .bin executable (chmod u+x j2sdkfile.bin) and then run it, but you have to run it as a user that can run X11 stuff from the command line - which usually doesn't include root on a secure system - because it starts an InstallShield window. However, if you're not root, you probably won't have write access to the directory where you want to install it (say, /usr/local/lib). This isn't so hard to get past - run it from alt-F2 (or whatever you need to run a command by name; this is what I do in KDE), specify the full path to j2sdkfile.bin, and run as root (under "Options"). It takes a little while to start up.

leilani238 at 2007-7-6 21:01:33 > top of Java-index,Desktop,Deploying...
# 6
Thanks Mate!I was trying to install as root and the installer would stop without warning.Installing as myself, X11 was able to launch the installer window as you explained.cheers
sambelld at 2007-7-6 21:01:33 > top of Java-index,Desktop,Deploying...