Latest LQ Deal: Linux Power User Bundle
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-10-2004, 05:10 PM   #1
Registered: Aug 2003
Posts: 55

Rep: Reputation: 15
how do you work with a .bin file?

i am setting up a cs server on linux, and i have all the files i need. i just dont know how to uncompress a .bin file. how do i make this work? im running rh 9. thank you
Old 01-10-2004, 05:37 PM   #2
Senior Member
Registered: Jan 2004
Location: Oregon, USA
Distribution: Slackware
Posts: 1,246

Rep: Reputation: 59
Usually .bin files are directly executable (i.e. they're not compressed). Just 'chmod +x filename.bin' to make it executable and then type the filename to run it. You might have to do ./filename.bin if . isn't in your path.
Old 01-10-2004, 05:50 PM   #3
Registered: Aug 2003
Posts: 55

Original Poster
Rep: Reputation: 15
this is what i get as a response when i type this
chmod +x hlds_1_3111_full.bin
chmod: fialed to get attributes of " hlds.....bin" : no such file or directory
to make sure the file was there i even did a ls and it was there. so i have no clue whats going on. any clue? please help. thank you
Old 01-10-2004, 06:36 PM   #4
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
check the permissions of that file with ls -l

if it set for only root write and execute, u can either logon as root and do chmod or just change the permissions of the file chmod 777 hld.... and then do ./hdl...

also, to ensure you don't misspell the filename, type the first few letters of the file and then press TAB to use the autocomplete feature
Old 01-10-2004, 06:41 PM   #5
Registered: Oct 2002
Location: Michigan
Distribution: Slackware Linux 10.0
Posts: 289

Rep: Reputation: 30
You could try "chmod 755 hlds_1_3111_full.bin". If your using a shell that allows tabbed auto completion then just type the first couple characters of the filename and then ./hlds_1_3111_full.bin after you made the file executable.
Old 01-10-2004, 07:01 PM   #6
Registered: Aug 2003
Posts: 55

Original Poster
Rep: Reputation: 15
well, i got it to be executable, and now i get this new error. it goes through the readme, says do you wish to install? yes or no? blah blah blah. i type yes, then it says this:

extracting /usr/steam/hlds_1_1120_full.tgz...
hlds_1_3111_full.bin: error extracting payload, no such file or directory

anyone know whats going on here? maybe i have to re-download it. but its giving me that its there, and that its executable, and that its the full file size. should i just re-download it? thank you
Old 01-10-2004, 09:02 PM   #7
Registered: Aug 2003
Posts: 55

Original Poster
Rep: Reputation: 15
ah, figured it out. i had to make the directory /usr/steam and then it moved itself into the right place. thank you all for you help. laters
Old 02-13-2004, 02:56 PM   #8
LQ Newbie
Registered: Feb 2004
Posts: 1

Rep: Reputation: 0

Thank you for pointing that out... I've been experiencing the same problem and thought it was hopeless until I read your post.

Thanks again.


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-files, leave the file in /usr/local/bin/ ? lagu2653 Linux - Software 1 11-08-2005 09:30 PM
/tools/bin/env: /tools/bin/bash: No such file or directory DaZjorz Linux From Scratch 21 07-27-2005 08:11 AM
Why doesn't the .bin file work? Charlsy Linux - Software 1 06-30-2004 04:08 PM
bin/bash:usr/bin/lpr NO SUCH FILE OR DIRECTORY Adibe_Hamm Linux - Newbie 3 10-14-2003 03:30 AM
getting .bin file to work rgarg Linux - Newbie 5 07-04-2003 05:22 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:01 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