LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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-11-2011, 09:08 PM   #1
scathysg
LQ Newbie
 
Registered: Jan 2011
Posts: 6

Rep: Reputation: 0
Having issues with installing Minecraft.bin file


Before stating my problem, I will go ahead and mention that I have looked through other threads about .bin files, but I'm running into an error that I haven't seen answered.

When attempting to run this .bin file, linux acts as if it doesn't know what a .bin is: looked through the forums and found out that it could be turned into an executable with chmod.

Attempted to "chmod +x" my JRE file. Linux doesn't know that "chmod +x" means.. so now I'm stuck.

Quote:
me@me-desktop:~$ chmod +x
chmod: missing operand after `+x'
Try `chmod --help' for more information.
me@me-desktop:~$ chmod +x jre-6u23-linux-i586.bin
chmod: cannot access `jre-6u23-linux-i586.bin': No such file or directory
jre-6u23-linux-i586.bin is in location home/me/downloads

Should I be attempting to run it through a path such as: chmod +x home/me/downloads jre-6u23-linuc-i586.bin or is there some other more obvious way?
 
Old 01-11-2011, 09:10 PM   #2
scathysg
LQ Newbie
 
Registered: Jan 2011
Posts: 6

Original Poster
Rep: Reputation: 0
While waiting for an answer, I noticed that the terminal may be trying to find the file on my desktop.. going to move the file to my desktop and try once more.

Edit: No such luck, moving it back to the download folder to keep the original question intact.

Last edited by scathysg; 01-11-2011 at 09:12 PM. Reason: Changing the files location.
 
Old 01-11-2011, 09:53 PM   #3
kindofabuzz
Member
 
Registered: Mar 2010
Location: Memphis, TN
Distribution: Linux Mint 13, Ubuntu Server 10.04
Posts: 230

Rep: Reputation: 42
You have to be in the directory where the file is or chmod +x /path/to/file foo.bin
 
Old 01-11-2011, 09:57 PM   #4
scathysg
LQ Newbie
 
Registered: Jan 2011
Posts: 6

Original Poster
Rep: Reputation: 0
Well, then could you give me a bit of an explanation about how to get terminal to move to the folder?
 
Old 01-11-2011, 10:07 PM   #5
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,440
Blog Entries: 3

Rep: Reputation: 182Reputation: 182
open a terminal and cd (change directory) to/where/you/put/ jre-6u23-linux-i586.bin assume root "su" or sudo cp jre-6u23-linux-i586.bin /usr/lib/ then type
sh /usr/lib/jre-6u23-linux-i586.bin accept terms and then you are installed. Then type rm /usr/lib/jre-6u23-linux-i586.bin to delete the bin file after it has been extracted.
The bin file is a self extracting archive that runs a script that asks you to accept the terms of the program. The command "sh" tell the system to run it as a executable script. Type man chmod when done reading pres q.
Look here for commands

Last edited by Drakeo; 01-11-2011 at 10:12 PM.
 
Old 01-11-2011, 10:22 PM   #6
scathysg
LQ Newbie
 
Registered: Jan 2011
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
me@me-desktop:~/Downloads$ sudo cp jre-6u23-linux-i586.bin /usr/lib/
me@me-desktop:~/Downloads$ sudo cp jre-6u23-linux-i586.bin /usr/lib/
me@me-desktop:~/Downloads$
Can't seem to get it to do anything now.
 
Old 01-11-2011, 10:27 PM   #7
scathysg
LQ Newbie
 
Registered: Jan 2011
Posts: 6

Original Poster
Rep: Reputation: 0
Correction to the last post. I tried it, after changing /usr/lib to the correct directory amanda/lib and.. this happened.


amanda@amanda-desktop:~/Downloads$ sudo cp jre-6u23-linux-i586.bin /amanda/lib
cp: cannot create regular file `/amanda/lib': No such file or directory
amanda@amanda-desktop:~/Downloads$
 
Old 01-12-2011, 12:42 AM   #8
scathysg
LQ Newbie
 
Registered: Jan 2011
Posts: 6

Original Poster
Rep: Reputation: 0
Actually, using what you said I fixed the problem. And installed all necessary files to play the game. Now I'm having a problem with the game, but I'll ask about that on their forums. Thanks to everyone who helped me.
 
Old 01-14-2011, 02:59 AM   #9
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,440
Blog Entries: 3

Rep: Reputation: 182Reputation: 182
ok I hope it gets better. If you would have told us the O/S like Ubuntu or slackware we could have just installed it from repository with a click of a mouse or a stroke of a key.
 
  


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
installing bin file a_magdyh Linux - Newbie 3 08-25-2008 05:12 PM
installing bin file jharvey Linux - Newbie 1 05-30-2006 10:28 AM
Installing .bin-files, leave the file in /usr/local/bin/ ? lagu2653 Linux - Software 1 11-08-2005 08:30 PM
.bin file issues... arioch Linux - Software 7 10-04-2003 12:09 PM
Installing a .bin file jones46 Linux - Software 1 09-21-2001 03:27 PM


All times are GMT -5. The time now is 10:59 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration