Wednesday, 18 April 2012

How execute bin files in LINUX?

Command to run (execute) bin files in Linux

Q. I have downloaded a file from internet that ends with .bin extension. Documentation says just run bin file. What command I need to type in order to run bin files in Linux.
A. .bin files are Linux self extracting binary files. For example Java or Flash are two examples of these types of file. Just type following two commands to run .bin files:

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:

$ chmod +x application.bin
$ ./application.bin

Another example for Java Linux self extracting binary file:

# chmod +x jre-1_5_0-linux-i586.bin
# ./jre-1_5_0-linux-i586.bin

No comments:

Post a Comment