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 nouveaublacklist lbm-nouveauoptions nouveau modeset=0alias nouveau offalias lbm-nouveau offinto the file
/etc/modprobe.d/blacklist.confsudo reboot
Find recommended drivers
ubuntu-drivers devices
Download and install the recommended drivers
Download the recommended drivers as per above step from here.
chmod +x NVIDIA-Linux-x86_64-440.64.runsudo ./NVIDIA-Linux-x86_64-440.64.runnvidia-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.runchmod +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 rebootnvcc -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.tgzsudo cp -P cuda/lib64/* /usr/local/cuda-10.1/lib64/sudo cp cuda/include/* /usr/local/cuda-10.1/includesudo chmod a+r /usr/local/cuda-10.1/include/cudnn.h
Ubuntu customization
- 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” toDashes.
- 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
- Install -
- Gogh terminal - Github
- Edit how my bash promt looks like.