How To Deal With .bin Files in Ubuntu

I was just trying out Thinkfree office suit online and it requires me install Java update. I downloaded the update file but it was in .bin format and I had no idea what to do with it. As usual, there was not any instruction on how to install stuff in Ubuntu. After screwing around a bit, I found the solution on Youtube.

To execute .bin files, you will have to use terminal.

Execute .bin files

  1. Open Terminal: Ctrl+Shift+T or Applications -> Accessories -> Terminal
  2. Navigate to where you save your file. Make sure you save your file where you want to install the application.
  3. Execute the file

    sudo ./yourfile.bin

    Replace the name of the .bin file into “yourfile.” Make sure you type everything in correctly, including the file name, the period and lash before the file.

  4. Enter your password and the file will be executed.

Have fun!

Note: I accidentally install my Java folder onto the Desktop. However, since Java does not require me to put it anywhere specific I can leave it on the desktop. I chose to move it to the lib folder though.

sudo mv ~/Desktop/jre1.5.0_12 /lib

Or you can open Nautilus as root to have root permission to move the folder with your mouse.

sudo nautilus