Thinking in a Simple Way

搭好梯子再上来 https://simpleface.wordpress.com

How to install .bin file in Linux/Unix/


In order to  install *.bin file,

first you need to  open your Terminal/bash window:

1st step : use”file” command to confirm whether it is executable or non-executable:

i.e :     file  /path/file.bin

lets take Adobe Reader for example, 

file /Downloads/AdbeRdr9.4.2-1_i486linux_enu.bin (file is the command)

Now you should see a sentence including the word “executable” and not “non-executable, not executable,… or something completely different)

After I enter the command:  file /Downloads/AdbeRdr9.4.2-1_i486linux_enu.bin

it will display:  ########################################################################### [dbastudent@192-168-1-134 Downloads]$ file AdbeRdr9.4.2-1_i486linux_enu.bin AdbeRdr9.4.2-1_i486linux_enu.bin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),  dynamically linked (uses shared libs), for GNU/Linux 2.2.5, stripped ######################################################################### If you do not see “executable,…)” the file is probably an cd-image(BIN/CUE) and not an executable .bin-file

2nd Step :

Now enter: chmod +x file.bin

E.G:  chmod +x AdbeRdr9.4.2-1_i486linux_enu.bin  (chmod +x  is the command to give permission to execute this file)

No path! Just the name of the file!!! Now the file is executable…

Last step: Type:        /path/file.bin

take AdobeReader for example it will prompt the following command,

then type the path name where you would like to install:

Enter installation directory for Adobe Reader 9.4.2 [/opt] home/dbastudent/AdobeReader/

That ‘s all . Hopes to help you .

Advertisements

7 responses to “How to install .bin file in Linux/Unix/

  1. coffe November 4, 2011 at 9:12 PM

    Thanks, it works well for me

  2. Timss December 23, 2011 at 2:20 PM

    hi, this can be done in ubuntu 10.04, right?

  3. Timss December 23, 2011 at 2:21 PM

    i’d like to note down your instructions as reference on future trainings.

  4. kufnayr April 18, 2012 at 7:03 AM

    says command not found?

    kufnayr@kufnayr-laptop:~/Downloads$ file unetbootin-linux-568
    unetbootin-linux-568: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), statically linked, stripped
    kufnayr@kufnayr-laptop:~/Downloads$ chmod +x unetbootin-linux-568
    kufnayr@kufnayr-laptop:~/Downloads$ unetbootin-linux-568
    unetbootin-linux-568: command not found
    kufnayr@kufnayr-laptop:~/Downloads$ ls
    20116169141119.zip firmware-atheros_0.35_all.deb unetbootin-linux-568
    carl9170-1.fw TL-WN821N_WN822N_100629.zip
    kufnayr@kufnayr-laptop:~/Downloads$ unetbootin-linux-568
    unetbootin-linux-568: command not found
    kufnayr@kufnayr-laptop:~/Downloads$ ^C
    kufnayr@kufnayr-laptop:~/Downloads$

  5. Peter May 28, 2012 at 4:42 AM

    @kufnayr you’ve probably solved it already. But in Ubuntu (10.10) just entering the filename doesn’t execute it for me. This does.

    ./file.bin

  6. Peter May 28, 2012 at 4:43 AM

    Also, thanks for this great tutorial!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: