Cuda not needed –

# Instructions for 4.14 and cuda 9.1
# If upgrading from 4.13 and cuda 9.0
$ sudo apt-get purge –auto-remove libcud*
$ sudo apt-get purge –auto-remove cuda*
$ sudo apt-get purge –auto-remove nvidia*
# also remove the container directory direcotory at /usr/local/cuda-9.0/

# Important libs required with 4.14.x with Cuda 9.X
$ sudo apt install libelf1 libelf-dev

# Install Intel Graphics Patch Firmwares (This should reboot your system):
bash -c “$(curl -fsSL”

# Update to 4.14 kernel. nvidia-384 compiles fine with this.
cd /tmp
sudo dpkg -i *.deb

# Add Nvidia repository
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update

# Install via ubuntu drivers
sudo ubuntu-drivers autoinstall