Installing Nvidia drivers and CUDA in Linux – Ubuntu and its derivatives

After a fresh install of Ubuntu – or one of its derivatives, I use a quick way to install Nvidia drivers and CUDA (used for GPU computing like blender cycles, etc.). It consists of two simple steps, open a terminal and…

  1. Add a PPA that contains latest stable drivers and install them:
    sudo apt-add-repository ppa:ubuntu-x-swat/x-updates
    sudo apt-get update
    sudo apt-get install nvidia-current nvidia-settings
  2. Install binary packages of CUDA:
    sudo apt-get install nvidia-cuda-toolkit

Now it’s possible to benefit of the Nvidia computing performance in your Linux! 🙂

Anyway, if you just need to let Blender to work with GPU computing, I advice to just install nvidia proprietary drivers and the package nvidia-modprobe:

sudo apt-add-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get install nvidia-current nvidia-settings nvidia-modprobe
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s