.bin file in terminal
I have this file jre-1_5_0_06-linux-i586.bin. I need to install this file somehow. The instructions say that I have to do something like
chmod a+x jre-1_5_0_06-linux-i586.bin but it does not work is says, can't find the file here is what i already did - I opened the termanial and logged in as root user - than I typed cd /home /ernst (this is the map where java has to be installed) - and than I got stuck at chmod a+x jre-1_5_0_06-linux-i586.bin this is what the terminal says ernst@ubuntu:~$ su Password: root@ubuntu:/home/ernst# cd /usr /java root@ubuntu:/usr# chmod a+x jre-1_5_0_06-linux-i586.bin chmod: cannot access `jre-1_5_0_06-linux-i586.bin': Onbekend bestand of map root@ubuntu:/usr# |
"Onbekend bestand of map" == "No such file or directory"
|
Where is the file jre-1_5_0_06-linux-i586.bin located? Apparently it isn't in /usr, which is your working directory that you are attempting to chmod in. If it is in /usr/java, remove the space in the cd command to read cd /usr/java and use your commands.
If it isn't in /usr/java, then when you know the path to the file, your commands above or do this: Open an x terminal and command: su - (give root password, the - will give full root power and paths) chmod 755 /path/to/jre-1_5_0_06-linux-i586.bin (makes it executable so that you can run it) /path/to/jre-1_5_0_06-linux-i586.bin (runs the binary install file, accept the license agreement and it will then install) I have Linux installed, now how do I do stuff like installing more software? # I can't figure out what software I want and how to install/uninstall it The table of equivalents, replacements, analogs of Windows software in Linux # Find software here Freshmeat Sourceforge rpmfind # Guides to software management LNAG: 4.5 Package installation and rpm package manager Rute Guide's software explanation |
Looks to me that you are not in the correct directory when you do the chmod.
Where is the file located? In a subdir of your home directory or in subdir of /usr? You do cd /usr /java From the prompt that I see after that, you only ended up in /usr. This is because you have a space between /usr and /java. |
the file is located in home/ernst
but on this site http://www.java.com/en/download/help...selfextracting it said (step 3) that i had to fill in the place where i want to install it so I want to install the software on the cd /usr/java but the .bin file is located in the home/ernst directory:confused: Is it possible that i install the software without the terminal if not, can someone please make clear the steps that I need to take, cause I'm getting a bit confused |
1. Open an x terminal
2. give command su - 3. give root password 4. command: chmod 755 /home/ernst/jre-1_5_0_06-linux-i586.bin 5. command: mv /home/ernst/jre-1_5_0_06-linux-i586.bin /usr/java (if the directory doesn't exist, do mkdir /usr/java first 6. command: /usr/java/jre-1_5_0_06-linux-i586.bin 7. Read and agree to the license agreement 8. Program should now install and you can close the x terminal. |
it worked
many thanks |
All times are GMT -5. The time now is 06:13 PM. |