Thinking in a Simple Way

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

Tag Archives: Linux

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 .