LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 05-28-2004, 01:27 PM   #1
fleuh
LQ Newbie
 
Registered: May 2004
Distribution: RH9 - Suse 9.1 - Knoppix - Mepis
Posts: 18

Rep: Reputation: 0
What to do with a .bin ??


Hy guyz, i can't find what to do with a .bin, could anyone help me ? (plz excuse my ignorance )

thanx !
 
Old 05-28-2004, 01:33 PM   #2
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Rep: Reputation: 33
.bin is a binary executable, in other it's the equivalent of a .exe file in windows. usually, there is a symlink (symbolic link) to the .bin placed in the /bin or /sbin directory. in other words, say you're talking about Firefox. when you unpack the archive (.tgz), you'll notice a file called firefox inside the /firefox directory. if you type ls -l ./firefox/firefox you should see that it points to something.bin (i'm guessing here, i'm not actually sure firefox is configured this way). this means that if you are in this directory, you can type firefox and start the program. if you want to be able to run it from any directory, you need to add it to your PATH (the directories linux checks for commands) by doing this:

su root
(password)
ln -s /path/to/firefox/firefox /bin/firefox

then anytime you type firefox (and anywhere) it will start the program. that's probably way more info than you wanted, but there you go.
 
Old 05-28-2004, 03:48 PM   #3
donni
Member
 
Registered: Aug 2003
Location: Crawley
Distribution: Debian GNU/Linux Sid
Posts: 49

Rep: Reputation: 15
In simple terms, just type

# ./whatever.bin

to run it.
 
Old 05-29-2004, 02:55 AM   #4
mjjzf
Member
 
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879

Rep: Reputation: 39
Sometimes necessary to do
chmod +x whatever.bin
 
  


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
sudo /usr/bin/chroot /home/chroot /bin/su - xxx| /bin/su: user xxx does not exist saavik Linux - General 3 07-04-2007 10:30 AM
Installing .bin-files, leave the file in /usr/local/bin/ ? lagu2653 Linux - Software 1 11-08-2005 08:30 PM
Is '/usr/bin/find' reliable if '/bin/ls' has been replaced? DigaMe Linux - Security 2 11-12-2004 10:42 PM
bin/bash:usr/bin/lpr NO SUCH FILE OR DIRECTORY Adibe_Hamm Linux - Newbie 3 10-14-2003 02:30 AM
Newbie needs help Installing j2sdk-1_4_2-nb_3_5_1-bin-linux.bin bendoku Linux - Newbie 5 10-11-2003 09:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:49 AM.

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
Open Source Consulting | Domain Registration