How to execute .run or .bin packages in Linux

The easiest way to install an application in Linux is to launch the Software Center (software center), search for the application in the search box, then click the button and enter the root password.

For applications not available through the software center, some developers create executable files in .run and .bin binary packages. This tutorial is intended to provide readers with step-by-step instructions for installing those binary packages.

Execute binary packages (.bin & .run) in Linux

The method of executing the binary package will be the same in any Linux distribution. They work in Ubuntu, Linux Mint, elementary OS, Fedora, Manjaro, etc.

For simplicity, suppose that the downloaded binary package is under 'Downloads' under the Home directory . Also to illustrate, the example downloaded the Firefox browser binary file and showed you the installation steps. The Firefox binary is in a compressed .tar format. If your package is the same, just right click on it and select 'Extract' to extract the content.

For example, firefox-62.0.3.tar.bz2 => extract to firefox-62.0.3 folder .

How to execute .run or .bin packages in Linux Picture 1
The Firefox binary is in a compressed .tar format

Step 1 : Launch the Terminal.

Step 2 : Use the cd command to navigate to the 'Downloads' folder .

 cd Downloads 

Step 3 : Use the ls command to list the contents of the 'Downloads' folder. Next, use the cd command again to enter the downloaded binary package directory.

Examples of inputs and outputs:

How to execute .run or .bin packages in Linux Picture 2
Use the ls command to list the contents of the directory

Step 4 : The first step is to authorize the .bin file.

In the case of the .bin package, enter the command:

 sudo chmod +x ./FILENAME.bin 

Replace 'FILENAME' with the name of your BIN file. Hit Enter .

Similarly, if the package you downloaded is a .run package, enter the command:

 sudo chmod +x FILENAME.run 

Replace FILENAME with the name of the RUN file.

Step 5 : Enter the admin password when prompted, then press Enter .

Step 6 : Finally execute the binary file: ./FILENAME.bin or ./FILENAME.run

The application will launch. All operations are completed!

4 ★ | 1 Vote

May be interested

  • How to Install Software in Debian LinuxHow to Install Software in Debian Linux
    this wikihow teaches you how to use tools built into debian linux to install software packages. if you're using the desktop version of debian, you can use synaptic to install application packages with a point-and-click graphical interface....
  • How to execute Linux commands in the backgroundHow to execute Linux commands in the background
    linux commands are a great way to interact with the system using terminal. however, it can sometimes take a while to complete the task at hand. this forces the user to wait a significant amount of time or create a new shell entirely.
  • Until loop in ShellUntil loop in Shell
    the while loop is perfect for the situation where you want to execute a set of commands while some conditions are true. sometimes you need to execute a set of commands until a condition is true, then you need to use a until loop.
  • How to find out if the package is installed in LinuxHow to find out if the package is installed in Linux
    linux packages are just a collection of software and the way they are installed varies depending on the distribution. there are several ways to quickly check if a package is currently installed.
  • Instructions for installing software and applications on LinuxInstructions for installing software and applications on Linux
    installing software on linux will be a little different from installing software on windows or macos. instead of accessing the website, users will have to get the application from the linux distribution's software store through the program. to manage library packages, the article below tipsmake will guide you how to install software and applications on linux.
  • The DHCP vulnerability in Red Hat Linux helps hackers execute remote codeThe DHCP vulnerability in Red Hat Linux helps hackers execute remote code
    security researchers at google have discovered a serious remote command-line vulnerability on red hat linux's dhcp software and derivative versions of the fedora operating system.
  • How to Update Ubuntu LinuxHow to Update Ubuntu Linux
    think your linux is out of date? this article will show you how to update your ubuntu linux system. update your repository list. you can do this by pressing ++. then type in . you will be prompted for your root password. all this command...
  • The while loop in ShellThe while loop in Shell
    the while loop gives you the ability to execute a set of repetitive commands until certain conditions occur. it is often used when you need to manipulate iterative variable values.
  • Working with Network Monitor (Part 5)Working with Network Monitor (Part 5)
    in the previous article of this series, we demonstrated that even capturing a simple network will give a lot of result packages that you don't really need. and also showed you how to filter out 'junk' packages to see only the
  • Linux Error SUDO allows you to run commands as rootLinux Error SUDO allows you to run commands as root
    a flaw in the sudo linux command has been discovered, which may allow non-privileged users to execute commands as root.