4 months ago
First-of-all, you should make sure that you really need those proprietary drivers. If you're happy with your current performance with Nouveau in use - just don't touch it. Nouveau drivers are updating, while legacy proprietary drivers from NVIDIA (340.xx) aren't.
Second-of-all, make sure that you didn't try to install these manually via other 3rd-party PPAs or even official .run from NVIDIA (installing that requires A LOT OF EFFORT and surely the method of it's installation is far outdated). If you did, and especially were half-way on installing .run from NVIDIA then proceed really carefully. You can end up with unbootable system, that just blinks underscore and refuses to load.
So, setup I recommend to proceed with is:
Now, let's get started:
sudo add-apt-repository ppa:kelebek333/nvidia-legacy
sudo apt update
sudo apt install nvidia-340 xorg-modulepath-fix
And finally, if after installing proprietary drivers you'll need to switch those to Nouveau (or some weird package will switch them for you on installation process) just open your Driver Manager and it will show avaivable options.