How can I install a .bin file?
I want to update Acrobat Reader for Firefox, but the download has the .bin extension. How can I install it?
8 Answers
Go into a terminal and issue the following command in the directory where the bin file is,
chmod a+x name_of_file.binThen run it by writing
./name_of_file.binIf you get a permission error and/or you're dealing with an installer that applies system-wide changes you might have to launch your application with root privileges:
sudo ./name_of_file.bin 9 Right click and select properties then go to permissions tab and tick allow excecuting.
Now double click the file and select run.
Some binaries require to be run from a terminal. If that's the case with your .bin file and/or nothing happens after double-clicking, drag the file into a new terminal window and run it by pressing 'Return'. The output should give you a clue on what's wrong.
In case you land here because you wan to globally install any binary, use the install command.
sudo install ./mybin /usr/bin/The install command on is used to copy files, and it does this by combining several commands into one to make them easy to use, i.e. cp, chown, chmod, and strip.
I want to update the Acrobat reader for firefox.
Adobe Reader is available in the Software Center.
0Important note: This is only relevant for packages that don't have a 64-bit version (e.g. Acrobat Reader). Installing ia32-libs is not required if you can download a 64-bit executable and/or are running a 32-bit system in the first place.
If your 64-bit Ubuntu doesn't have the following package installed , you will not able to access Acrobat Reader.
Follow the steps below:
sudo apt-get install ia32-libs
chmod a+x yourfile.bin
sudo ./yourfile.bin change permission of your file to executable by using terminal
copy your .bin or .run file to any location and then open terminal
In terminal type ls and it will show all files in that directory then change permission by root as show below
sudo su
chmod a+x filename.binthen
./filename.bin in this way you can run bin or run files in your ubuntu
solution that works for me:
sudo bash xxx.bin First of all go to location of file
like if your file is your downloads then open terminal and follow below steps
acer@acer-TravelMate-P243:~$cd ~
acer@acer-TravelMate-P243:~$cd /home/user/Downloadsthen change the persmissions of the .bin file to execute by terminal
acer@acer-TravelMate-P243:~$chmod a+x ./filename.bin -R now you can run that file through terminal
acer@acer-TravelMate-P243:~$./filename.bin