How to Install the Latest Nvidia Driver on Ubuntu 12.04
2013-06-19 09:19
561 查看
The first method will require the addition of a PPA, followed by a system update, and finally by an installation.
sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get dist-upgrade
The above commands are useful if you already have the Nvidia driver installed and just want to upgrade it. If you want to
install the driver, on a clean system for example, then replace the third step presented above with the following one:
sudo apt-get install nvidia-current
It’s that simple
.
From now on, whenever Nvidia releases a new driver, just hit the update command and a new version will be installed.
The second method is a little problematic for two reasons. One, because you will need to install the drivers from a terminal
after stopping the login manager, Light DM, and secondly, because you will need to repeat this process every time the Linux kernel is updated by the OS developers.
First, download the latest Nvidia drivers to a familiar location, such as Downloads
.
Log out of the account and press CTRL-ALT-F1 in order to bring up the terminal. Enter the following commands:
sudo service lightdm stop
cd ~/Downloads
sudo chmod a+x NVIDIA-Linux-x86-304.51.run
./ NVIDIA-Linux-x86-304.51.run
The name of the file will vary from one release to another. Follow the instructions and the new Nvidia driver will be installed.
The problem is that with this method, the driver is compiled specifically for the Linux kernel you’re running, so if Canonical decides to update the kernel, this procedure must be done all over again.
转载地址:http://news.softpedia.com/news/How-to-Install-The-Latest-Nvidia-Driver-on-Ubuntu-12-04-295542.shtml
sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get dist-upgrade
The above commands are useful if you already have the Nvidia driver installed and just want to upgrade it. If you want to
install the driver, on a clean system for example, then replace the third step presented above with the following one:
sudo apt-get install nvidia-current
It’s that simple
.
From now on, whenever Nvidia releases a new driver, just hit the update command and a new version will be installed.
The second method is a little problematic for two reasons. One, because you will need to install the drivers from a terminal
after stopping the login manager, Light DM, and secondly, because you will need to repeat this process every time the Linux kernel is updated by the OS developers.
First, download the latest Nvidia drivers to a familiar location, such as Downloads
.
Log out of the account and press CTRL-ALT-F1 in order to bring up the terminal. Enter the following commands:
sudo service lightdm stop
cd ~/Downloads
sudo chmod a+x NVIDIA-Linux-x86-304.51.run
./ NVIDIA-Linux-x86-304.51.run
The name of the file will vary from one release to another. Follow the instructions and the new Nvidia driver will be installed.
The problem is that with this method, the driver is compiled specifically for the Linux kernel you’re running, so if Canonical decides to update the kernel, this procedure must be done all over again.
转载地址:http://news.softpedia.com/news/How-to-Install-The-Latest-Nvidia-Driver-on-Ubuntu-12-04-295542.shtml
相关文章推荐
- How to Install the Latest Nvidia Driver on Ubuntu 12.04
- How to install the latest Nvidia drivers on Ubuntu 14.04 Trusty Tahr
- How to install/setup latest version of PHP 5.5 on Ubuntu 12.04 LTS (Precise Pangolin)
- How to install Aptana Studio 3 on Ubuntu 12.04 LTS (Precise Pangolin)
- How to install Sublime Text 2 on Ubuntu 12.04 (Unity)
- How to install Nvidia driver on a Xen kernel, CentOS 5.5(Final)
- How To Install Wordpress with nginx on Ubuntu 12.04
- How to Install CodeIgniter on an Ubuntu 12.04 Cloud Server
- How to install the Sun Java JDK on Ubuntu 10.10
- How to install gcc-arm-linux-gnueabihf on Ubuntu 12.04
- How to install OpenERP 7.0 on Ubuntu 12.04 LTS
- How To Install Linux, nginx, MySQL, PHP (LEMP) stack on Ubuntu 12.04
- How to install the Sun Java JDK on Ubuntu 10.10
- How to install and use GCC g++ v4.7 and C++11 on Ubuntu 12.04
- How to install tomcat 7 on ubuntu 12.04
- How-to Install Nvidia Driver on 2.6.25-2 Debian Kernel
- How to fix the bug 640*480 resolution only when install ubuntu 14.04 on a old laptop?
- How to Install the Latest GCC on Windows
- how to install the Oracle Java (JDK) 8, Oracle Java (JDK + JRE) 7 or Oracle Java (JDK) 6 on Ubuntu 1
- How to install the latest Eclipse in Ubuntu 14+