Execute .bin and .run file Ubuntu Linux

In order to execute .run and .bin file in Ubuntu, they need to be marked as an executable type.

This can be achieved in two ways, through Terminal or using GUI ( Graphical User Interface)

Using GUI

  1. Move .run/.bin files to your Home Dir.
  2. Select the file + Right Click -> Properties.
  3. Go to Permissions tab.
  4. Tick the Allow executing file as program radio box (next to Execute).
  5. Now, Click, Apply Permissions to Enclosed Files.
  6. Close the Property Window.

Executing .Run/.Bin Files

  1. Double-Click the .run/.bin file.
  2. If noting happens, right click on the file and select Run in Terminal.

Using Terminal

  1. Open Terminal
  2. We need to change the file type (cmod) as executable

chmod +x YourfileName.bin

Now execute the file

./YourfileName.bin

Note: If you get an error message like Permission Denied. Switch to the root user using sudo and run the file,

sudo ./YourfileName.bin

Comments & Discussion

Facing issues? Have questions? Post them here! We're happy to help!