LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to install .bin files??? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-bin-files-291178/)

linus johann 02-16-2005 08:38 PM

how to install .bin files???
 
anybody wqanna help out a :newbie: here?? if you could teach me how to install a .bin file, id greatly appreciate it.... what are the commands/scripts??

tnx alot!! :D



btw, im tryin to do this in rh9 (if thats an issue)

jfryman 02-16-2005 08:53 PM

.bin file install
 
Without knowing a whole bunch about your .bin file, what it is, or where it came from... here is what I might do to start with.

try one of two things.
try running it with /bin/sh

#/bin/sh <program>.bin

Or heck, even better... make it executable, and then run it on whatever shell you choose!

#chmod +x <program>.bin
#./<program>.bin

These examples are very bash specific, but should get you started. Good luck!

-James


QtCoder 02-16-2005 08:53 PM

Well, from a command line, go to the directory where you put the .bin file, give it execute permissions (not always necessary), and execute it:

Code:

cd /home/user_name/file.bin
chmod +x file.bin
./file.bin

Of course, substitute the path (/home/user_name....) for the one you have the file in.

Hope that helps! :)

[EDIT]LOL, only by < 1 minute! jfryman just barely beat me! Blast!! must...type....faster...[/EDIT]

JimBass 02-16-2005 08:54 PM

[EDIT]QtCoder was much faster on the draw![/EDIT]

Usually, you need to make the .bin file executable. If you downloaded it to something in your home directory, you can just issue the command
Code:

chmod a+x (flename).bin
. If the file is somewhere else, you usually need to be root to do the chmod. If you have the file directly in /home/you. then these would be the steps:

1) open terminal
2) chmod a+x filename.bin
3) ./filename.bin

and that will install it. if it is in a subdirectory of /home/you, then just navigate to it and issue the same commands.

Peace,
JimBass

linus johann 02-17-2005 07:27 AM

gee thanx a lot!! really appreciate it!!


All times are GMT -5. The time now is 01:36 PM.