How to run a .run or .bin file on CentOS 8

Some files that we download from the Internet have extensions .bin or .run… In order to run such files, we must set the permission to execute these files. BUT .bin or . run file is a self-extracting binary file on Linux and Unix operating systems. For example Java and Flash are two examples of such files. In this guide, we will learn how to run .bin as well as . run extension files. So let’s get started.

Run .bin / .run file on CentOS 8

First, set the resolution of the file you downloaded. To do this, open a terminal and enter the following command:

# chmod +x <filename>

I downloaded a file from the internet ( to run this file. First, we need to set the execute permission as shown in the picture.

You can also set the permission for the executable file by going to the properties of that file, as shown in the pictures:

Run with

In the properties, click the Permissions tab at the top and check the (Allow this file to run as a program) box as shown below.

Set execute permissions

To run / execute this file, open a terminal and enter the following command:

# ./

Run file

The same method described above is used to do .bin file.


In this tutorial, we learned how to set permissions for .bin as well as . run files and how to execute those files on CentOS 8. I hope this guide will help you set permissions for such executables and how to execute them.

How to run a .run or .bin file on CentOS 8