How to install a .bin file in ubuntu

Ubuntu is one of the most popular Linux distribution. And best of all its free and open source operating system. Ubuntu is based on Debian, so ubuntu does not execute .bin files. Hence installing a .bin application in Ubuntu requires you to execute it via the Terminal. Using the Terminal we can change the .bin file so that Ubuntu can execute it.
Here are some simple steps to install .bin file -
1. Download the .bin file and store it in anywhere you want. I recommend the Desktop, as it is easy to navigate through the Terminal.
2. Now open the Terminal window (Applications > Accessories > Terminal) and navigate to the folder where you have stored the file by using the cd command. For example, if your file is stored on the Desktop you need to type cd Desktop (The commands and filenames are case-sensitive).
Now your Terminal code will change to something like this – user@user-desktop:-/Desktop$
Similarly, you can navigate to other locations by using cd location.
3. Once you have navigated to the required location, type ls to list the files in that directory and note down the exact file name of your .bin file.
4. Type sudo chmod +x filename.bin. This command permits Ubuntu to execute the file. It will ask for your password. Enter the password and hit Enter.
5. Now type ./filename.bin. The .bin file will start installing from within the terminal. Just follow the instructions that appear on the screen. Once the installation is completed, close the terminal window.
That’s it! You have successfully installed the .bin file

4 comments:

  1. Useful ! Thanks !

    ReplyDelete
  2. Very helpful. Thanks.

    ReplyDelete
  3. Thanks a lot man.this saved my life
    i was not getting reply.but u made my day

    ReplyDelete