Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

My PC has both Ubuntu and Windows 7 installed. I have installed all my drivers in Windows like NVidia graphics, motherboard etc. Shall I install them in Ubuntu too?

I looked on the web for my Nvidia drivers and i have found a .run file. How could I install it on my Ubuntu?

share|improve this question
add comment

3 Answers 3

Installing drivers the official way

As I said in my comment, the supported way to install hardware drivers is by running System->Administration->Additional Drivers, just as software should be installed from Applications->Software Centre.

When you install drivers from Additional Drivers, choose the recommended driver and enable it. Once you have done this, the window should look something like this:

alt text

If no drivers are shown, it probably means that you don't need to install any.

You should only install drivers from .run files if:

  1. You don't have an internet connection on your Ubuntu computer.
  2. There is no other way to install the drivers.

Installing graphics drivers from .run files

I have, in the past, been without an internet connection due to a Windows XP only modem. These are the steps I took to install my (NVidia) graphics drivers (original forum post):

  1. Save the .run file in your home folder. This should have the path /home/YOURUSERNAME. You can get to this from Places->Home Folder.
  2. Press Ctrl+Alt+F1. This should bring up a text mode command line interface.
  3. Log in by first entering your user name then your password. Note that when you enter your password you will not see the letters of your password appear on the screen while you type. This is normal and is done for security reasons.
  4. Once logged in, enter the following commands by typing them in, then pressing enter:

    cd ~

    sudo service lightgdm stop

    sudo chmod +x NVIDIA-Linux-x86-185.18.36-pkg1.run

    sudo ./NVIDIA-Linux-x86-185.18.36-pkg1.run

  5. Wait for the installer to finish then enter this command: sudo service lightgdm start. This should bring back the graphical interface.

  6. I'm not entirely sure if this step is required and, to be honest, I don't know what it does but when I installed the driver I opened a terminal Applications->Accessories->Terminal and entered this command: sudo nvidia-xconfig --add-argb-glx-visuals. This enabled me to enable visual effects.

Installing other programs from .run files

Occasionally, some applications and games (eg. some from the Humble Indie Bundle) have .run installers. Before installing using these, check to see if:

  1. it is available from the Software Centre
  2. it is available as a .deb file, which will open in the Software Centre

You can install .run files from the graphical interface, but using a terminal is more likely to give you useful feedback. To install a .run file you need to:

  1. make it executable.
  2. execute it

This is because .run files are just executable programs that do some unknown magic to install the program. This is similar to what .exe installers do on Windows and is different to the normal methods (at best, using the Software Centre, at worst using .deb files) in which applications are installed in a standard way and can be easily removed.

Graphical Method

  1. Right click on the file in the file manager and click 'Properties'. Click the 'Permissions' tab and tick the box that says 'Allow executing file as program'.
  2. Double click the file to execute it.

If this method doesn't work, try using the terminal method.

Terminal Method

Assume the file is called some-app.run and is in the folder /home/user/Downloads. You will need to modify these instructions to fit your situation.

  1. Open a terminal (Applications->Accessories->Terminal).

  2. enter cd /home/user/Downloads

  3. enter chmod +x some-app.run
  4. enter ./some-app.run

  5. if step 4 fails with a message including 'permission denied', try entering sudo ./some-app.run (you will need to enter your password for this).


  • Sometimes you will come across .bin files. These are basically the same as .run files.
  • The method to install .run files can be used to execute any file (as long as it has some sort of executable code in it.
  • Be careful using sudo and only use it when absolutely required. Translated into English, it means 'Run this command but allow it to do anything it wants to my computer'. This is why you are prompted for your password.
share|improve this answer
Excellent guide.Good job :) –  karthick87 Dec 24 '10 at 20:03
What can i do in the last step if i have an AMD driver? You said to enter: sudo nvidia-xconfig --add-argb-glx-visuals, but that won't work for me cuz i have AMD :/ –  Luis Alberto Mar 4 at 15:12
add comment

To run the file, open a terminal and enter:

sudo chmod +x /path/to/file.run
sudo /path/to/file.run
share|improve this answer
add comment

Installing .run files in ubuntu:

  • Open a terminal(Applications>>Accessories>>Terminal).
  • Navigate to the directory of the .run file.
  • If you have your *.run in your desktop then type the following in terminal to get into Desktop and press Enter.

    cd ~/Desktop

  • Then type chmod +x filename.run and press Enter.
  • Now type ./filename.run and press Enter, and the installer will run.
share|improve this answer
Installing drivers by .run files is not recommended for unexperienced users. See dv3500ea's answer. –  Takkat Dec 25 '10 at 12:35
@Takkat Ya i know that.But his question was how to install .run files that's why i answered that part alone. –  karthick87 Dec 25 '10 at 12:44
perfectly o.k. :) I just felt a comment on this may save some support time ;) –  Takkat Dec 25 '10 at 21:33
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.