Before explaining how to execute .bin and .run files on your Ubuntu, let us first define what exactly these file extensions are:

Bin File: A Binary or BIN file in Ubuntu refers to installation packages that are mostly self-extracting executables for installing software on your system. You can install most software packages through the Ubuntu Software Manager, from .deb packages, and .tar.xz packages. However, there is software that is not available in these formats. These mostly include newer software and newer versions of software, mostly beta, that is not available otherwise. The bin packages are easily executed/run using the Ubuntu command line, the Terminal.

Run File: These are also executable files typically used for Linux program installers. Run Files contain program data and instructions for making the installation; often used for distributing device drivers and software applications. The run packages are easily executed/run using the Ubuntu command line, the Terminal.

In this article, we will explain how to execute/run the file with .run and .bin extensions on Ubuntu Linux.

We have run the commands and procedures mentioned in this article on a Ubuntu 18.04 LTS system. We will be using the Ubuntu command line, the Terminal, in explaining how to run bin and run files. You can open the Terminal application either through the system application launcher search or the Ctrl+Alt+T shortcut.

Note: Please make sure your .run and .bin files come from a reliable source, as executing an insecure file can damage your system and even compromise your system security.

Executing .bin and .run files

The process of running both the run and BIN files is pretty simple and straightforward in Ubuntu.

We are assuming that you have already downloaded your bin/run file in a known location on your Ubuntu.

Open the Terminal application and move to the location where you have saved the executable file.

For example, I would use the following command to move to my Downloads folder:

$ cd Downloads

Go to the Downloads folder

Now use the following command to make your .bin/.run file executable:

For .bin file:

$ sudo chmod +x ./FILENAME.bin

For .run file:

$ sudo chmod +x ./


In this example, I will be making a sample .run file named executable.

If your .run/.bin file does not exist in the current location, you can specify the exact file path/location in the above commands.

Make .run file executable

My file is now marked as executable. The system indicates it by a change in color of the filename when listed through the ls command:

Check file permissions

Once your .bin/.run file has become executable, you can use the following command to execute/run it:

$ ./FILENAME.bin
$ ./

You can specify the path of the executable file in the above command if it does not exist in the current folder you are in.

Execute .run file

My sample file is pretty much an empty file. In case of a proper installation package, the installation process will begin after you execute the file.

This is the power of the Ubuntu command line. You can install rare software packages available in the .run and .bin formats easily on your system.

How to Execute .bin and .run Files in Ubuntu

Karim Buzdar

About the Author: Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications. As an IT engineer and technical author, he writes for various web sites. You can reach Karim on LinkedIn