Code2care : TechZone Apps & Tutorials

Execute .bin and .run file Ubuntu Linux



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

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

Using GUI



Mark file as executable in Ubuntu


    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


3. 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 install such files.

It is always advisable to download such files form 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.


Top












Posts related to ubuntu.


1. Execute .bin and .run file Ubuntu Linux


Posts related to linux.


1. How to Rotate Android Emulator on Mac OSX Windows and Linux

2. Execute .bin and .run file Ubuntu Linux


Code2care : Lines of Code for Change
Code2care is an initiative to publish and share varied knowledge in technical and non-technical areas gathered during day-to-day learnings and development activities.





Android app on Google Play    








Popular tags
android
x 175
eclipse
x 29
notepadplusplus
x 20
macosx
x 14
sharepoint
x 14
html
x 14
mac
x 13
androidstudio
x 11




1000+ C Programs     PHP Tutorial     JSON Tutorial     Swift Tutorial     India Pinocdes     About Us     Privacy Policy


Code2care © 2012-17