Software Requirements and Linux Command Line Conventions
Ubuntu 18.04 Bionic Beaver Linux
Existing Desktop installation such as GNOME, KDE etc.
Privileged access to your Linux system as root or via the sudo command.
# - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command $ - requires given linux commands to be executed as a regular non-privileged user
Automatic Install using standard Ubuntu Repository
The first method is the easiest to perform and in most cases it is the recommended approach.
First, detect the model of your nvidia graphic card and the recommended driver. To do so execute:
Download the Official Nvidia Driver. Using your web browser navigate to the official Nvidia website and download an appropriate driver for your Nvidia graphic card. Save the file into your home directory. Example:
Install Prerequisites. The following prerequisites are required to compile and install Nvidia driver:
Make sure you reboot your system before you proceed to the next step.
In order to install new Nvidia driver we need to stop the current display server. The easiest way to do this is to change into runlevel 3 using the telinit command. After executing the following linux command the display server will stop, therefore make sure you save all your current work ( if any ) before you proceed:
$ sudo telinit 3
Hit CTRL+ALT+F1 and login with your username and password to open a new TTY1 session.
To start installation of Nvidia driver execute the following linux command and follow the wizard:
$ bash NVIDIA-Linux-x86_64-410.73.bin
You now need to Accept License and follow the wizard to completed the installation. You man also be asked questions like:
The distribution-provided pre-install script failed!
Are you sure you want to continue? -> CONTINUE INSTALLATION
Would you like to run the nvidia-xconfig utility? -> YES
The Nvidia driver is now installed.
Reboot your system:
$ sudo reboot
Configure NVIDIA X Server Settings. After reboot you should be able to start NVIDIA X Server Settings app from the Activities menu.
WARNING: Unable to find suitable destination to install 32-bit compatibility libraries
Depending on your needs, this can be safely ignored. However, if you wish to install steam game platform this issue cannot be ignored. To resolve execute: