Skip to content

Instantly share code, notes, and snippets.

@gad0lin
Last active November 28, 2017 07:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gad0lin/9834375424bde268cd26a5acf588bb0b to your computer and use it in GitHub Desktop.
Save gad0lin/9834375424bde268cd26a5acf588bb0b to your computer and use it in GitHub Desktop.
# install libglvnd
# if you saw error:
# An incomplete installation of libglvnd was found. Do you want to install a full copy of libglvnd? This will overwrite any existing libglvnd libraries.
apt-get install dh-autoreconf libxext-dev libx11-dev x11proto-gl-dev
git clone https://github.com/NVIDIA/libglvnd.git
cd libglvnd
./autogen.sh
./configure
make
# install nvidia
apt purge nvidia*
apt-get install nvidia-384
# installing cuda
wget https://developer.nvidia.com/compute/cuda/9.0/Prod/local_installers/cuda_9.0.176_384.81_linux-run
chmod +x cuda_9.0.176_384.81_linux-run
./cuda_9.0.176_384.81_linux-run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment