I have downloaded a file from internet that ends with .bin extension. The documentation (INSTALL.TXT) file says just run bin file. What command I need to type in order to run bin files in Linux or Unix-like operating systems?
A .bin file is a self extracting binary file for Linux and Unix-like operating systems. For example Java or Flash are two examples of these types of file. Just type following two commands to run .bin files. In this example, I am going to run a binary file called file.bin.
Run .bin file in Linux / UNIX
Change the permission of the file you downloaded to be executable. Type the following command:
$ chmod +x file.bin
Start the installation process or run .bin file. Type the following command:
For example if .bin file name is application.bin. Type the following commands:
$ chmod +x application.bin
Another example for Java Linux self extracting binary file:
$ chmod +x jre-1_5_0-linux-i586.bin
$ sh jre-1_5_0-linux-i586.bin