{"id":17981064,"url":"https://github.com/nvidia/yum-packaging-nvidia-settings","last_synced_at":"2025-03-25T18:31:04.794Z","repository":{"id":66147265,"uuid":"344906541","full_name":"NVIDIA/yum-packaging-nvidia-settings","owner":"NVIDIA","description":"NVIDIA settings packaging for RHEL","archived":false,"fork":false,"pushed_at":"2025-02-24T08:47:09.000Z","size":141,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-20T16:47:27.826Z","etag":null,"topics":["nvidia-driver-packages","nvidia-settings","yum-packaging"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NVIDIA.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-05T19:00:11.000Z","updated_at":"2025-02-24T08:47:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"2df6383c-d5cc-4fbd-88cd-6d2347eb5796","html_url":"https://github.com/NVIDIA/yum-packaging-nvidia-settings","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NVIDIA%2Fyum-packaging-nvidia-settings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NVIDIA%2Fyum-packaging-nvidia-settings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NVIDIA%2Fyum-packaging-nvidia-settings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NVIDIA%2Fyum-packaging-nvidia-settings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NVIDIA","download_url":"https://codeload.github.com/NVIDIA/yum-packaging-nvidia-settings/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245519921,"owners_count":20628796,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nvidia-driver-packages","nvidia-settings","yum-packaging"],"created_at":"2024-10-29T18:07:35.262Z","updated_at":"2025-03-25T18:31:04.788Z","avatar_url":"https://github.com/NVIDIA.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yum packaging nvidia settings\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![Contributing](https://img.shields.io/badge/Contributing-Developer%20Certificate%20of%20Origin-violet)](https://developercertificate.org)\n\n## Overview\n\nPackaging templates for `yum` and `dnf` based Linux distros to build NVIDIA settings packages.\n\nThe `main` branch contains this README. The `.spec` and `.patch` files can be found in the appropriate [rhel7](../../tree/rhel7), [rhel8](../../tree/rhel8), and [fedora](../../tree/fedora) branches.\n\n## Table of Contents\n\n- [Overview](#Overview)\n- [Deliverables](#Deliverables)\n- [Prerequisites](#Prerequisites)\n  * [Clone this git repository](#Clone-this-git-repository)\n  * [Install build dependencies](#Install-build-dependencies)\n- [Building with script](#Building-with-script)\n- [Building Manually](#Building-Manually)\n- [Related](#Related)\n  * [DKMS nvidia](#DKMS-nvidia)\n  * [NVIDIA driver](#NVIDIA-driver)\n  * [NVIDIA kmod common](#NVIDIA-kmod-common)\n  * [NVIDIA modprobe](#NVIDIA-modprobe)\n  * [NVIDIA persistenced](#NVIDIA-persistenced)\n  * [NVIDIA plugin](#NVIDIA-plugin)\n  * [NVIDIA precompiled kmod](#NVIDIA-precompiled-kmod)\n  * [NVIDIA xconfig](#NVIDIA-xconfig)\n- [Contributing](#Contributing)\n\n\n## Deliverables\n\nThis repo contains the `.spec` file used to build the following **RPM** packages:\n\n\n\u003e _note:_ `XXX` is the first `.` delimited field in the driver version, ex: `460` in `460.32.03`\n\n* **RHEL8** or **Fedora** streams: `XXX`, `XXX-dkms`, `latest`, and `latest-dkms`\n ```shell\n - nvidia-libXNVCtrl\n - nvidia-libXNVCtrl-devel\n - nvidia-settings\n ```\n\n\nFor 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.\n\n* **RHEL7** flavor: `branch-XXX`, `latest`, and `latest-dkms`\n ```shell\n - nvidia-libXNVCtrl\n - nvidia-libXNVCtrl-devel\n - nvidia-settings\n ```\n\n\n## Prerequisites\n\n### Clone this git repository:\n\nSupported branches: `rhel7`, `rhel8` \u0026 `fedora`\n\n```shell\ngit clone -b ${branch} https://github.com/NVIDIA/yum-packaging-nvidia-settings\n\u003e ex: git clone -b rhel8 https://github.com/NVIDIA/yum-packaging-nvidia-settings\n```\n\n### Download a NVIDIA settings tarball:\n\n* **Source code** location: [https://github.com/NVIDIA/nvidia-settings/releases](https://github.com/NVIDIA/nvidia-settings/releases)\n\n  *ex:* [https://github.com/NVIDIA/nvidia-settings/archive/460.32.03.tar.gz](https://github.com/NVIDIA/nvidia-settings/archive/460.32.03.tar.gz)\n\n  *ex:* [https://github.com/NVIDIA/nvidia-settings/archive/460.56.tar.gz](https://github.com/NVIDIA/nvidia-settings/archive/460.56.tar.gz)\n\n### Install build dependencies\n\n```shell\n# Basics\nyum install gcc m4\n# Compiling UI\nyum install gtk2-devel gtk3-devel libappstream-glib\n# X.org utilties\nyum install libXext-devel libXrandr-devel\n# GLVND\nyum install mesa-libGL-devel mesa-libEGL-devel\n# Video extensions\nyum install libXxf86vm-devel libXv-devel libvdpau-devel\n# Misc\nyum install jansson-devel dbus-devel desktop-file-utils\n# Packaging\nyum install rpm-build\n```\n\n## Building with script\n\n### Fetch script from `main` branch\n\n```shell\ncd yum-packaging-nvidia-persistenced\ngit checkout remotes/origin/main -- build.sh\n```\n\n### Usage\n\n```shell\n./build.sh [$version | path/to/*.tar.{gz,bz2} | path/to/*.run]\n\u003e ex: time ./build.sh 460.32.03\n\u003e ex: time ./build.sh ~/Downloads/nvidia-settings-450.102.04.tar.bz2\n\u003e ex: time ./build.sh ~/Downloads/nvidia-settings-460.32.03.tar.gz\n\u003e ex: time ./build.sh ~/Downloads/NVIDIA-Linux-x86_64-450.102.04.run\n```\n\u003e _note:_ runfile is only used to determine version\n\n\n## Building Manually\n\n### Packaging\n\n```shell\nmkdir BUILD BUILDROOT RPMS SRPMS SOURCES SPECS\ncp *.desktop SOURCES/\ncp *.patch SOURCES/\ncp *.xml SOURCES/\ncp nvidia-settings-${version}.tar.gz SOURCES/\ncp nvidia-settings.spec SPECS/\n\nrpmbuild \\\n    --define \"%_topdir $(pwd)\" \\\n    --define \"debug_package %{nil}\" \\\n    --define \"version $version\" \\\n    --define \"epoch 3\" \\\n    --define \"extension gz\" \\\n    -v -bb SPECS/nvidia-settings.spec\n```\n\u003e _note:_ this package is not branched, therefore regardless of flavor, the highest version installed by default.\n\n## Related\n\n### DKMS nvidia\n\n- dkms-nvidia\n  * [https://github.com/NVIDIA/yum-packaging-dkms-nvidia](https://github.com/NVIDIA/yum-packaging-dkms-nvidia)\n\n### NVIDIA driver\n\n- nvidia-driver\n  * [https://github.com/NVIDIA/yum-packaging-nvidia-driver](https://github.com/NVIDIA/yum-packaging-nvidia-driver)\n\n### NVIDIA kmod common\n\n- Common files\n  * [https://github.com/NVIDIA/yum-packaging-nvidia-kmod-common](https://github.com/NVIDIA/yum-packaging-nvidia-kmod-common)\n\n### NVIDIA modprobe\n\n- nvidia-modprobe\n  * [https://github.com/NVIDIA/yum-packaging-nvidia-modprobe](https://github.com/NVIDIA/yum-packaging-nvidia-modprobe)\n\n### NVIDIA persistenced\n\n- nvidia-persistenced\n  * [https://github.com/NVIDIA/yum-packaging-nvidia-persistenced](https://github.com/NVIDIA/yum-packaging-nvidia-persistenced)\n\n### NVIDIA plugin\n\n- _dnf-plugin-nvidia_ \u0026 _yum-plugin-nvidia_\n  * [https://github.com/NVIDIA/yum-packaging-nvidia-plugin](https://github.com/NVIDIA/yum-packaging-nvidia-plugin)\n\n### NVIDIA precompiled kmod\n\n- Precompiled kernel modules\n  * [https://github.com/NVIDIA/yum-packaging-precompiled-kmod](https://github.com/NVIDIA/yum-packaging-precompiled-kmod)\n\n### NVIDIA xconfig\n\n- nvidia-xconfig\n  * [https://github.com/NVIDIA/yum-packaging-nvidia-xconfig](https://github.com/NVIDIA/yum-packaging-nvidia-xconfig)\n\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnvidia%2Fyum-packaging-nvidia-settings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnvidia%2Fyum-packaging-nvidia-settings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnvidia%2Fyum-packaging-nvidia-settings/lists"}