138

I want to update Acrobat Reader for Firefox, but the download has the .bin extension. How can I install it?

1
  • 2
    You should always try to install software from repositories (that is using synaptic/software center) to get security updates, new release,etc much more easily. Please note that you won't get support (from launchpad.net, ubuntuforums.org or other Ubuntu support channels) for applications that aren't installed from official sources.
    – papukaija
    Feb 20, 2011 at 21:58

8 Answers 8

181

Go into a terminal and issue the following command in the directory where the bin file is,

chmod a+x name_of_file.bin

Then run it by writing

./name_of_file.bin

If 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
  • Hi, I am very illiterate in terminal. I have the bin file in desktop. Please tell me how to execute it. thanks Nov 27, 2010 at 5:44
  • In terminal type cd Desktop and press enter.And then type chmod a+x name_of_file.bin and press enter.Finally type sudo ./name_of_file.bin It will install the bin file.
    – karthick87
    Nov 27, 2010 at 5:47
  • 3
    if you wanted to do this without the terminal you can flip executable bit with right click properties -> permissions -> set executable bit. but run as I don't know how to do without a terminal Nov 27, 2010 at 8:48
  • 1
    @aking1012 Alt+F2 and gksudo?
    – nanofarad
    Jun 29, 2012 at 17:58
  • 1
    You don't have to use sudo all the time, if the .bin file doesn't require it.
    – user248102
    Feb 14, 2014 at 9:23
21

Right click and select properties then go to permissions tab and tick allow excecuting.

enter image description here

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.

1
  • So! 1. I changed the "allow exectuing " from properties. 2. used chmod to change permission, currently the permission is -rwxr-xr-x- 3. then i executed using .?filename.bin there is no response after that! what should i do?
    – user52677
    Mar 30, 2012 at 6:16
9

If you want to globally install any binary, use the install command.

sudo install ./mybin /usr/bin/

The install command is used to copy files, and it does so by combining several commands into one to make them easy to use, i.e. cp, chown, chmod, and strip.

4

I want to update the Acrobat reader for firefox.

Adobe Reader is available in the Software Center.

0
2

Important 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
2

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.bin

then

./filename.bin 

in this way you can run bin or run files in your ubuntu

2

solution that works for me:

sudo bash xxx.bin
0

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/Downloads

then 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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .