Ubuntu 19.10 installation

Purge Nvidia drivers

  • sudo apt-get purge nvidia*
  • sudo lshw -c video | grep 'configuration'
  • sudo apt-get remove --purge nvidia-*

Disable Nouveau drivers (open source Nvidia GPU drivers)

  • Insert

    blacklist nouveau blacklist lbm-nouveau options nouveau modeset=0 alias nouveau off alias lbm-nouveau off

    into the file

    /etc/modprobe.d/blacklist.conf

  • sudo reboot

ubuntu-drivers devices

  • Download the recommended drivers as per above step from here.

  • chmod +x NVIDIA-Linux-x86_64-440.64.run

  • sudo ./NVIDIA-Linux-x86_64-440.64.run
  • nvidia-smi

Install CUDA as per Nvidia driver version:

  • Confirm CUDA version from here.
  • wget http://developer.download.nvidia.com/compute/cuda/10.1/Prod/local_installers/cuda_10.1.243_418.87.00_linux.run
  • chmod +x cuda_10.1.243_418.87.00_linux.run
  • First way to install - sudo ./cuda_10.1.243_418.87.00_linux.run
  • Second - sudo apt install nvidia-cuda-toolkit
  • sudo reboot
  • nvcc -V, the result should be CUDA version you just installed.

CuDNN installation

  • Download appropriate file from here.
  • tar -zxvf cudnn-10.1-linux-x64-v7.6.5.32.tgz
  • sudo cp -P cuda/lib64/* /usr/local/cuda-10.1/lib64/
  • sudo cp cuda/include/* /usr/local/cuda-10.1/include
  • sudo chmod a+r /usr/local/cuda-10.1/include/cudnn.h

Ubuntu customization

  1. Enable Gnome extensions from here.
    • Install Clipboard Indicator
    • Install “Sound Input & Output Device chooser”
    • Use dconf-editor
      • sudo apt install dconf-editor
      • Open dconf-editor
      • Goto path org/gnome/shell/extensions/dash-to-dock
      • Customize “click action” to minimize customize “Running indicaor style” to Dashes.
  2. Customizing Terminal profiles-
    • Gogh terminal - Github
      • Install - bash -c "$(wget -qO- https://git.io/vQgMr)"
      • It gives choices of 185 color schemes - I only tried 19: Brogrammer as of now.
      • It’ll create profile for you, restart the terminal and see preferences
  3. Edit how my bash promt looks like.