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
- Move .run/.bin files to your Home Dir.
- Select the file + Right Click -> Properties.
- Go to Permissions tab.
- Tick the Allow executing file as program radio box (next to Execute).
- Now, Click, Apply Permissions to Enclosed Files.
- Close the Property Window.
Executing .Run/.Bin Files
- Double-Click the .run/.bin file.
- If noting happens, right click on the file and select Run in Terminal.
Using Terminal
- Open Terminal
- 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
Provide Feedback For This Article
We take your feedback seriously and use it to improve our content. Thank you for helping us serve you better!
😊 Thanks for your time, your feedback has been registered!
Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!