Find out openSUSE version
$ cat /etc/SUSE-brandor$ cat /etc/*releaseLookup the package that contains a command
$ cnf <command>$ zypper se <package>i = installed, l = locked
$ sudo zypper in <package>$ sudo zypper rm <package>$ sudo zypper si <package>$ zypper lp$ sudo zypper patch$ zypper lu -a$ sudo zypper up$ sudo zypper dup$ zypper lr$ sudo zypper ar <URL>$ sudo zypper refresh <repository alias>https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html
Note that we are not installing the NVIDIA CUDA Toolkit. We are installing just the CUDA drivers.
$ sudo zypper in gcc$ uname -r4.12.14-lp151.28.10-defaultThe version is 4.12.14-lp151.28.10 and the variant is default. The kernel headers and development packages can then be installed with the following command:
zypper install kernel-<variant>-devel=<version>, which in the above example would be:
$ sudo zypper in kernel-default-devel=4.12.14-lp151.28.10http://developer.nvidia.com/cuda-downloads/checksums
$ md5sum <file>$ sudo rpm --install cuda-repo-<distro>-<version>.<architecture>.rpm$ sudo zypper refresh$ sudo zypper in cuda-drivers$ sudo usermod -a -G video <username>$ sudo zypper in cuda-drivers$ sudo zypper remove "*cublas*" "cuda*"$ sudo zypper remove "*nvidia*" https://es.opensuse.org/SDB:C%C3%B3mo_instalar_el_controlador_gr%C3%A1fico_de_NVIDIA
$ sudo zypper ar -f http://download.nvidia.com/opensuse/leap/15.1/ nvidia$ sudo zypper in x11-video-nvidiaG04$ sudo zypper in x11-video-nvidiaG05$ sudo usermod -a -G video <username>Uninstalling the proprietary drivers will restore the previous X configuration file /etc/X11/xorg.conf if one existed. If the hardware has changed in the mean time it may be necessary to manually edit this file.
On Leap 42.3 you may want to install the drm-kmp-default package again.
$ sudo zypper in drm-kmp-default$ unzip DaVinci_Resolve_16.0b7_Linux.zip$ sudo ./DaVinci_Resolve_16.0b7_Linux.run -iNote: The first time that Davinci Resolve 16 is launched, the welcome screen will get stuck (it will remain black). You have to end the "DaVinci_Resolve_Welcome" process within "System Monitor". Launching Davinci Resolve 16 after this will be fine.
$ sudo zypper ar -cfp 90 http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.1/Essentials packman-essentials$ sudo zypper dup --from packman-essentials --allow-vendor-change$ sudo zypper in libavcodec56 libavcodec57 libavcodec58 libavformat56 libavformat57 libavformat58 libavdevice56 libavdevice57 libavdevice58For debian, ubuntu:
sudo apt-get purge nvidia*