This tutorial intends to teach you to Run or Execute Binary (.bin) Files on Linux.
A binary file is a file stored in binary format. A binary file is computer-readable but not human-readable. All executable programs are stored in binary files, as are most numeric data files.
The binary file is the most common type of computer file, and it can be found on all types of computers, including Windows PCs, Macs, Linux systems, and mobile devices such as smartphones and tablets. Binary files are also known as executable files or object codes.
The advantage of using binary files is that they can be sent over the Internet more quickly than text-based or other types of non-binary files.
Steps To Run or Execute Binary (.bin) Files on Linux
You can use the following methods to execute your “.bin” files:
- Via CLI
- Via GUI
Run .bin Files Via CLI on Linux
Those who are comfortable with the command line interface can use the following Linux Commands.
When you have downloaded your binary file in your Linux distro, you need to change the permissions of the specific “.bin” file using the “chmod” command. For example:
chmod +x sample.bin
Execute .bin Files
At this point, you can easily run your binary file by using the command below:
./sample.bin
This will run your downloaded binary file.
Run .bin Files Via GUI on Linux
Those who are comfortable with the graphical user interface can use the following steps.
First, you need to open the directory where the desired “.bin” file is saved or downloaded on your Linux distro.
Then, right-click on the file and choose the “Properties” option.
The “Lato-Regular.bin Properties” window will be opened.
From there choose the “Permission” icon located in the menu bar of the “properties” window. Tick the highlighted checkbox “Allow executing file as a program”.
Finally, double-click on the “.bin” file and install it.
Conclusion
At this point, you have learned to Run or Execute Binary (.bin) Files on Linux.
Hope you enjoy it. You may be like these articles too: