Packaging templates for yum
and dnf
based Linux distros to build NVIDIA settings packages.
The main
branch contains this README. The .spec
and .patch
files can be found in the appropriate rhel7, rhel8, and fedora branches.
This repo contains the .spec
file used to build the following RPM packages:
note:
XXX
is the first.
delimited field in the driver version, ex:460
in460.32.03
- RHEL8 or Fedora streams:
XXX
,XXX-dkms
,latest
, andlatest-dkms
- nvidia-libXNVCtrl
- nvidia-libXNVCtrl-devel
- nvidia-settings
For RHEL7 and derivatives, there are three sets or flavors of packages with different package dependencies. However, that does not apply to the packages in this repository.
- RHEL7 flavor:
branch-XXX
,latest
, andlatest-dkms
- nvidia-libXNVCtrl
- nvidia-libXNVCtrl-devel
- nvidia-settings
Supported branches: rhel7
, rhel8
& fedora
git clone -b ${branch} https://github.com/NVIDIA/yum-packaging-nvidia-settings
> ex: git clone -b rhel8 https://github.com/NVIDIA/yum-packaging-nvidia-settings
-
Source code location: https://github.com/NVIDIA/nvidia-settings/releases
ex: https://github.com/NVIDIA/nvidia-settings/archive/460.32.03.tar.gz
ex: https://github.com/NVIDIA/nvidia-settings/archive/460.56.tar.gz
# Basics
yum install gcc m4
# Compiling UI
yum install gtk2-devel gtk3-devel libappstream-glib
# X.org utilties
yum install libXext-devel libXrandr-devel
# GLVND
yum install mesa-libGL-devel mesa-libEGL-devel
# Video extensions
yum install libXxf86vm-devel libXv-devel libvdpau-devel
# Misc
yum install jansson-devel dbus-devel desktop-file-utils
# Packaging
yum install rpm-build
- nvidia-driver
- nvidia-modprobe
- nvidia-persistenced
- dnf-plugin-nvidia & yum-plugin-nvidia
- Precompiled kernel modules
- nvidia-xconfig
See CONTRIBUTING.md