How To Make A File Executable in Ubuntu

Sometimes you need to make several different file types excutable to install applications. Those file types include .sh and .bin. I had seperate tutorials on how to deal with .bin and .sh files type. There are two ways to make a file executable: using terminal or using graphical interface.

Terminal

  1. Open Terminal: Ctrl+Shift+T or Applications -> Accessories -> Terminal
  2. Make file excutable

    sudo chmod +x filename.bin

    Replace your file’s name into “filename”

  3. Enter your password. The file is now executable.

Graphical Interface

  1. Right Click on the file and select Properties.
  2. Select the Permission tab.
  3. Check “Allow executing file as program.”
  4. Your file will have a different icon and now become executable.
    Note: Double click on the file does not nescessarily execute the file. You may have to use terminal.

18 Responses

  1. Thanks, for this. Also I wanted some help on my Ubuntu installation, I love Ubuntu, and use it most of the times. However I am dependent on many apps which can only be used on win. Is there a way i can use Ubuntu from my windows, without virtulization,

  2. I know that Hardy now allows you to install Ubuntu within windows. Now, I think Hardy is going to create a virtual volume within the Windows partition. This allow you to use Ubuntu in Windows without dual booting. However, it’s a bit slower to use Ubuntu in Windows. (I know this won’t meet your criteria of avoiding virtualization, but this is the only way that I know of.)

    I am currently run Ubuntu exclusively on my computer. For other win applications, I just use wine or look for an alternative (you won’t believe how many of them are out there.)

    If you prefer, dual booting also does the job. It’s a bit annoying to switch system though. But, this method involve no virtual machine, everything is real!

    Lastly, you can run Windows from Ubuntu! Now, this one is kind of awesome because it feels like Linux owns Windows. Anyway, you can use virtualbox to create a Virtual Windows machine on Ubuntu. There are limitations: low memory (but the window in virtualbox runs super fast), NO 3D accelerations – means no games. But if you don’t run anything heavy, this method can handle your problem.

    So, my suggestions are:

    1. Install Hardy within Windows.
    2. Find alternatives for your Windows apps or use Wine.
    3. Dual booting.
    4. Install Windows within your Ubuntu

    Hope these suggestions help.

  3. well… i know this is virualization but if you install vmware theres a feture called unity that will let win2k or newer have there windows along with your gnome/kde windows

  4. hey..
    how to make run .exe files bcuz m nt able to change permission
    it says u r not owner to change file permission..
    plz suggest me solution.
    cant it be as easy as it is in windows..double click and execute?
    thanks

  5. Rishi,

    You can’t run an exe file in Linux. Period.
    Perhaps you may try something like wine.

  6. hey, whenever i check the execute check box, nothing happens. i mean, it will show a check mark but in a second it suddenly disappears.

  7. Please Help Me …
    How can i run .exe files in ubuntu. I am a new user to ubuntu, and most of my softwares are in .exe format. Especially i want to change the “ViaUsb_Setup1.3.16alpha.exe ” which is the driver for my “Clarity II A” WLL Phone(acting as Modem for my computer ) through which i connect to internet.

  8. Please Help Me …
    How can i run .exe files in ubuntu. I am a new user to ubuntu, and most of my softwares are in .exe format. Especially i want to change the “ViaUsb_Setup1.3.16alpha.exe ” which is the driver for my “Clarity II A” WLL Phone(acting as Modem for my computer ) through which i connect to internet.
    It is a BSNL WLL connection.

  9. dont use windows

  10. it should be chomd a+x filename.bin
    not
    chomd+x filename.bin

  11. can’t do “Allow executing file as program.”
    permission could not be changed
    What to do

  12. whats a zip file

  13. How can i set up exe file? if any one could show me !!!

  14. […] Here is a good tutorial show you how to Make A File Executable in Ubuntu: Sometimes you need to make several different file types excutable to install applications. Those file types include .sh and .bin. I had seperate tutorials on how to deal with .bin and .sh files type. There are two ways to make a file executable: using terminal or using graphical interface. […]

  15. the best way to do this is

    http://www.trixbook.com/computer-hacking/

    worlds popular kackinh book the TRIXBOOK

  16. […] 7: there are two files, DaGeek247s_Autotyper,gambas, and readme.txt. Make DaGeek247s_Autotyper.gambas executable. […]

  17. i tryed and it don’t work it says “Sorry, could not change the permissions of “AUTORUN.EXE”: Error setting permissions: Read-only file system” and i can’t change any other thing in the file i NEED HELP ASAP!!!!

  18. Thank you for the article it was a big help

Leave a comment