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

Notices


Reply
  Search this Thread
Old 01-06-2006, 03:32 AM   #1
secret_force
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
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#
 
Old 01-06-2006, 03:44 AM   #2
jayakrishnan
Member
 
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, 03:56 AM   #3
fancypiper
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
Freshmeat
Sourceforge
rpmfind
# 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 04:07 AM.
 
Old 01-06-2006, 04: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, 07:43 AM   #5
secret_force
LQ Newbie
 
Registered: Oct 2005
Posts: 28

Original Poster
Rep: Reputation: Disabled
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
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, 08:35 AM   #6
fancypiper
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:
/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.

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

Original Poster
Rep: Reputation: Disabled
it worked
many thanks
 
  


Reply


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 08:36 AM
Installing .bin-files, leave the file in /usr/local/bin/ ? lagu2653 Linux - Software 1 11-08-2005 08:30 PM
How to run MP3 file thru Terminal in K.D.E or Terminal itz2000 Linux - Newbie 5 08-04-2005 09:49 PM
/tools/bin/env: /tools/bin/bash: No such file or directory DaZjorz Linux From Scratch 21 07-27-2005 07:11 AM
bin/bash:usr/bin/lpr NO SUCH FILE OR DIRECTORY Adibe_Hamm Linux - Newbie 3 10-14-2003 02:30 AM


All times are GMT -5. The time now is 08:46 PM.

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