2011年1月26日

Install Updated Nvidia Driver on Ubuntu

Since Ubuntu updates binary drivers infrqeuently, one can update them from the X Updates PPA. Just use these commands:
$ sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
$ sudo apt-get update
Then you can get stable release of X.org components, drivers from upstream. Please be aware that those packages are not supported by Ubuntu. Nextly, if you have installed the binary driver for an Nvidia card, you can just type:
$ sudo apt-get upgrade
to upgrade it. Otherwise you can use the "Additional Drivers" tool or just type:
$ sudo apt-get install nvidia-current
to install it. If CUDA/OpenCL headers are also needed, they can be installed by executing this command:
$ sudo apt-get install nvidia-current-dev
After installing all Nvidia packages, a GPGPU (OpenCL/CUDA) development environment is established successfully.

PS: You may need to manually delete some files/links from old version of drivers under the /usr/lib directory.

Reference:

沒有留言:

張貼留言