Before explaining how to execute the .bin and .run files on your Debian, let’s first determine what exactly these file extensions are:
Bin file: A binary or bin file in Debian refers to installation packages, which are mainly self-extracting executables for installing software on your system. Although most software can be installed using the Debian software manager, from .deb packages and .tar.xz packages, there is software not available in these formats. They mainly include newer software and newer versions, mainly beta, of software that is otherwise not available. Bin packages can be easily started / started using the Debian command line, Terminal.
Run file: They are also executables commonly used for Linux installers. Startup files contain program data and installation instructions; often used to distribute device drivers and software applications.
In this article, we will describe how to execute / run a file with the .run and .bin extensions on Debian Linux.
We ran the commands and procedures mentioned in this article on the Debian 10 Buster system. We will use the Debian, Terminal command line to explain how to run bin and run files. You can easily open the Terminal application by searching the launch pad of the system application. Just press the Super / Windows key and then type Terminal in the search bar as follows:
Remarks: Make sure your .run and .bin files are obtained from a trusted source, as executing an insecure file can damage your system and even compromise your system’s security.
Executing .bin and .run files
The process of running .run and .bin files in Debian is pretty straightforward.
We assume that your bin / run file is already loaded at a known location on your system.
Open the Terminal application and go to the place where you saved the executable file.
For example, I would use the following command to go to the Downloads folder:
$ cd Downloads
Now use the following command to run the .bin /, executable:
For the .bin file:
$ sudo chmod +x ./FILENAME.bin
For the .run file:
$ sudo chmod +x ./FILENAME.run
In this example, I create a sample .run executable file called samplefile.run.
If your .run / .bin file does not exist in the current location, you can specify the exact path / location of the file in the above commands.
Please enter the password for sudo if your system asks for it.
My file will now be marked as executable. This is indicated by the color change of the file name during enumeration using the ls command:
Once your .bin / .run file becomes executable, you can use the following command:
You can specify the path to the executable file in the above command if it does not exist in the current folder in which you are located.
My sample file is pretty much an empty file. If the installation package is correct, the installation process will begin after you run the file.
This is the power of the Debian command line. You can easily install rare software packages available in .run and .bin formats on your system.
How to execute .bin and .run files in Debian