Snippet. Linux. How to Install a BIN File on Linux

Sometimes the installation files provided for Linux OS are in binary format with the .BIN extension. This Linux snippet shows how to successfully install a BIN file.

By default the downloaded files on the Linux machine are not executable. Thus, clicking on it will not execute it, but rather open a text editor. In order to execute the file you must log in as administrator and specifically make it executable.

The following snippet of commands shows how to make a file executable and execute it.

su

chmod +x filename.bin

./filename.bin

Updated on: 23 Nov 2024