Install nvidia-headless-390 by entering the following commands in the terminal:
sudo apt update sudo apt install nvidia-headless-390
Description:
NVIDIA headless metapackage
This metapackage installs the NVIDIA driver and the libraries that enable parallel general purpose computation through CUDA and OpenCL. . Install this package if you do not need X11 or Wayland support, which is provided by the nvidia-driver-390 metapackage.
Homepage: http://www.nvidia.com
Version: 390.48-0ubuntu3
Section: restricted/libs