Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 01-06-2006, 04:32 AM   #1
LQ Newbie
Registered: Oct 2005
Posts: 28

Rep: Reputation: Disabled
.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
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
Old 01-06-2006, 04:44 AM   #2
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Rep: Reputation: 30
"Onbekend bestand of map" == "No such file or directory"
Old 01-06-2006, 04:56 AM   #3
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
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
# Guides to software management
LNAG: 4.5 Package installation and rpm package manager
Rute Guide's software explanation

Last edited by fancypiper; 01-06-2006 at 05:07 AM.
Old 01-06-2006, 05:04 AM   #4
Wim Sturkenboom
Senior Member
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
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.
Old 01-06-2006, 08:43 AM   #5
LQ Newbie
Registered: Oct 2005
Posts: 28

Original Poster
Rep: Reputation: Disabled
the file is located in home/ernst
but on this site
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
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
Old 01-06-2006, 09:35 AM   #6
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
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:
7. Read and agree to the license agreement
8. Program should now install and you can close the x terminal.

Last edited by fancypiper; 01-06-2006 at 09:51 AM.
Old 01-06-2006, 09:49 AM   #7
LQ Newbie
Registered: Oct 2005
Posts: 28

Original Poster
Rep: Reputation: Disabled
it worked
many thanks


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Redirect terminal output to file AND terminal shan Linux - General 3 09-29-2006 09:36 AM
Installing .bin-files, leave the file in /usr/local/bin/ ? lagu2653 Linux - Software 1 11-08-2005 09:30 PM
How to run MP3 file thru Terminal in K.D.E or Terminal itz2000 Linux - Newbie 5 08-04-2005 10:49 PM
/tools/bin/env: /tools/bin/bash: No such file or directory DaZjorz Linux From Scratch 21 07-27-2005 08:11 AM
bin/bash:usr/bin/lpr NO SUCH FILE OR DIRECTORY Adibe_Hamm Linux - Newbie 3 10-14-2003 03:30 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:20 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration