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
Note : .bin and .run files are though easy to install but not so easy to remove, it depends on the developer who made it, so please do check the uninstallation procedure before installing such files.
It is always advisable to download such files from a trusted source.
Some of such .bin or .run files may require root permissions to get them installed, as root access gives full access permissions to the file to your Operating system, which may lead to security issues.
- Command to know the Available Memory on Linux System
- How to install curl on Alpine Linux
- How to backup a file in Linux/Unix
- Install Java Runtime Environment (Oracle or open JRE) on Ubuntu
- What is the Default Admin user and Password for Jenkins
- How to tar.gz a directory or folder Command
- Copy entire directory using Terminal Command [Linux, Mac, Bash]
- Fix: bash: ipconfig: command not found on Linux
- Command to check Last Login or Reboot History of Users and TTYs
- Linux: Create a New User and Password and Login Example
- ls command to list only directories
- bash: cls: command not found
- How to exit from nano command
- Installing and using unzip Command to unzip a zip file using Terminal
- What does apt-get update command does?
- ls command: sort files by name alphabetically A-Z or Z-A [Linux/Unix/macOS/Bash]
- How to remove or uninstall Java from Ubuntu using apt-get
- scp: ssh: connect to host xxxx port 22: Connection refused Error
- Sort ls command by last modified date and time
- Create Nested Directories using mkdir Command
- How to Exit a File in Terminal (Bash/Zsh)
- Command to know the installed Debian version?
- How to connect to SSH port other than default 22
- How to save a file in Nano Editor and Exit
- Install OpenSSL on Linux/Ubuntu
- [Fix] zsh: command not found: awscli [Mac Terminal] - AWS
- Download Google Chrome setup exe file using PowerShell - Powershell
- New-SPLogFile PowerShell - create new SharePoint log file - SharePoint
- Two Ways to Extract rar (*.rar) files on Mac - MacOS
- Check version of pip package installer for Python - Python
- SharePoint - Use Today's Date Time in list view filter and calculated column - SharePoint
- Notepad++ Save Failed - Please check if this file is opened in another program. - NotepadPlusPlus
- How to fix Microsoft Windows 10 update error 80070020 - Microsoft