Skip to content

NVIDIA/ubuntu-packaging-nvidia-driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

ubuntu packaging nvidia driver

License Contributing

Overview

Packaging templates for Ubuntu based Linux distros to build NVIDIA driver packages.

The main branch contains this README. The control and .install files can be found in the appropriate 16.04, 18.04, and 20.04 branches.

Table of Contents

Deliverables

This repo contains the template files used to build the following DEB packages:

note: flavor is the first . delimited field in the driver version, ex: 460 in 460.32.03

  • Ubuntu 18.04 or Ubuntu 20.04
- libnvidia-cfg1-${flavor}
- libnvidia-common-${flavor}
- libnvidia-compute-${flavor}
- libnvidia-decode-${flavor}
- libnvidia-encode-${flavor}
- libnvidia-extra-${flavor}
- libnvidia-fbc1-${flavor}
- libnvidia-gl-${flavor}
- libnvidia-ifr1-${flavor}
- nvidia-compute-utils-${flavor}
- nvidia-dkms-${flavor}
- nvidia-driver-${flavor}
- nvidia-headless-${flavor}
- nvidia-headless-no-dkms-${flavor}
- nvidia-kernel-common-${flavor}
- nvidia-kernel-source-${flavor}
- nvidia-utils-${flavor}
- xserver-xorg-video-nvidia-${flavor}
  • Ubuntu 16.04
- libcuda1-${flavor}
- nvidia-libopencl1-${flavor}
- nvidia-opencl-icd-${flavor}
- nvidia-${flavor}
- nvidia-${flavor}-dev
  • Additional GRID packages
- libnvidia-grid-${flavor}
- nvidia-grid-utils-${flavor}

Prerequisites

Clone this git repository:

Supported branches: 16.04, 18.04 & 20.04

git clone -b ${branch} https://github.com/NVIDIA/ubuntu-packaging-nvidia-driver
> ex: git clone -b 18.04 https://github.com/NVIDIA/ubuntu-packaging-nvidia-driver

Download a NVIDIA driver runfile:

Install build dependencies

note: these are only needed for building not installation

# Packaging
apt-get install debhelper devscripts dpkg-dev

Related

See also

RHEL driver

SUSE driver

Contributing

See CONTRIBUTING.md