nvidia-smi command not found Ubuntu 16.04
The solution that worked for me was to disable secure boot when rebooting after installing the NVIDIA drivers.
sudo apt purge nvidia-*
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
sudo apt install nvidia-381
Then reboot, in the menu choose "change secure boot options", put the password you previously chose and disable the secure boot.
Try updating the driver.
Add the PPA by running the following commands in terminal:
sudo add-apt-repository ppa:graphics-drivers/ppa sudo apt-get update
Open Software & Updates from System Settings or directly from Dash, click on the
Additional Drivers
tab, select the driver you want to use, and clickApply changes
.After the driver is downloaded and installed, restart your system.