How to execute a .run or .bin package in Linux

Binary Packages are the scripted installer packages similar to exe files

The easiest way of installing apps in Linux is to launch the Software Center, look for the app in the search box followed by a click of a button and entering the root password.

For the apps that are not available through the software center, some developers package the executable in .run and .bin binary packages. This tutorial aims at providing you step-by-step directions on the method to install those binary packages.

What are .run and .bin packages?

A .run and .bin package is a custom built set of instructions which need to be executed in order to run an application. By the sheer nature of it, it’s understandable that there is absolutely no quick way to determine what the script will do to your computer. Therefore, one needs to be careful about the download source. I suggest not to run any binary packages from an unknown source.

Note that .bin extension is also used for CD/DVD images and backups which are not to be confused with installers. This guide is applicable only for the executables.

Where do the Binary packages come from?

All applications are written in programming languages, such as C or C++. These lines of codes are termed “Source code”. The source code is then compiled and outputted as a binary package so that a computer can read it. This step is not mandatory as one can install an application from the source code too. However, we will deal with it on some other day. For now, let’s see how to install the binary packages on your Linux distro.

Executing Binary packages (.bin & .run) in Linux

The method of executing a binary package is the same in any Linux distro. It should work in Ubuntu, Linux Mint, elementary OS, Fedora, Manjaro, so on and so forth.

For sake of simplicity, I’m assuming that the downloaded binary package resides in the “Downloads” folder in the “Home” directory. Also for illustration, I’m downloading the Firefox browser binary and show you the installation steps. Firefox binary comes in .tar compressed format. If your package is also achieved, simply right-click on it and “Extract” the content.

Example: firefox-62.0.3.tar.bz2 => extracted to firefox-62.0.3 directory.

Firefox Binary Package Content
Firefox Binary Package Content

Step 1) Launch ‘Terminal’.

Step 2) Use ‘cd’ command to navigate into the “Downloads” folder.

cd Downloads

Step 3) Use ‘ls’ command to list the content of the “Downloads” folder. Next, use cd again to go into the downloaded binary package directory.

Example Input and Output:

Executing Firefox Binary
Executing Firefox Binary

Step 4) First step is to give bin file executable permissions.

In case of BIN package, enter “sudo chmod +x ./FILENAME.bin” command, replacing “FILENAME” with the name of your BIN file. Press enter.

Similarly, if the package you download is a .run package, enter “sudo chmod +x, replacing “FILENAME” with the name of your RUN file.

Step 5) Type the administrator password when prompted, then press Enter.

Step 6) Finally execute the binary:

./FILENAME.bin    OR    ./

The application should launch. That’s it!

Kiran Kumar
Hi there! I'm Kiran Kumar, founder of I'm an avid Linux lover and enjoy hands-on with new promising distros. Currently, I'm using Ubuntu as a daily driver and run several other distros such as Fedora, Solus, Manjaro, Debian, and some new ones on my test PC and virtual machines. I have a day job as an Engineer, and this website is one of my favorite past time activities, especially during Winter ;). When I'm not writing for FOSSLinux, I'm seen biking and hiking on scenic trails. I hope you enjoy using this website as much as I do writing for it. Feedback from readers is something that inspires me to do more and spread Linux love!. If you find a time, drop me an email or feedback from the 'Contact' page. Or simply leave a comment below if you found this article useful. Have a good day!



Please enter your comment!
Please enter your name here




How to install Lightworks on Ubuntu

Even though Linux may not get a native installer of video editing software like Adobe Premiere or Final Cut Pro, that doesn't mean there are no industry standards tools available. Lightworks is non-linear editing (NLE) video mastering app for Windows, Linux, and macOS. Installing it on Ubuntu is simple due to deb package availability.

How to install DaVinci Resolve on Fedora

Davinci Resolve is a professional application used for color correction, video editing, visual effects, and motion graphics. It is one of the extensively used software by movie industries located in Hollywood.

The 10 Best Programming Languages for Hacking

One of the significant entities we have in Cyber Security is Ethical Hacking (ETH). It is the process of detecting and finding flaws or vulnerabilities in a system that a hacker would exploit.

5 Ways to Open a Terminal in Ubuntu

Even though Ubuntu supports many applications with amazing Graphical User Interfaces (GUI), there are always reasons why users prefer using the Terminal to perform different tasks.

How to install Wine on Fedora Workstation

Linux distributions are becoming more and more popular every day, and Fedora Workstation is not left behind. This popularity brings forth the need to run Windows applications on Linux distros like Fedora. Windows has quite some excellent Software that is not available for Linux.

How to download and install iTunes on Linux

iTunes has always been a convenient platform for downloading, organizing, playing, and syncing media between your Apple devices. It also gives users a large pool of media to buy or stream millions of songs using Apple Music.


Linux is growing faster than ever. As per the latest report, there is a drop in the Windows 10 market share for the first time, and Linux's market share has improved to 2.87% this month. Most of the features in the list were rolled out in the Pop OS 20.04. Let's a detailed look into the new features, how to upgrade, and a ride through video.
Elementary OS 5.1 Hera has received a point release with a handful of new features and bug fixes, and we will be reviewing the significant changes in this article. For those new to elementary OS, this Ubuntu-based Linux distribution uses their inhouse built Pantheon desktop environment and AppCenter.

5 Best Ways to Free up Hard Disk Space in Ubuntu

Hard disk space can easily get filled up with cached package files, old kernels, and other obsolete files that occupy unwanted hard disk space. Here are top five best and safer ways to clean and free up hard disk space in Ubuntu. We show you Terminal and GUI way of cleaning up system.

The 10 Best Programming Languages for Hacking

One of the significant entities we have in Cyber Security is Ethical Hacking (ETH). It is the process of detecting and finding flaws or vulnerabilities in a system that a hacker would exploit.

The 6 Best Download Managers for Fedora

It is a well-known fact that using download managers can help improve download speeds as compared to web browsers. Apart from the inbuilt download manager wget on Fedora, just as on any distribution that is based on GNU/Linux package, there are more options to explore.

Linux Mint vs. Ubuntu – which is best for you?

The conundrum is that which one among them? The best solution is to try both of them out, and then choose whatever seems to work the best for your needs. But here, we're giving you some distinctions between the both that might make it easier for you to make a choice.