Installing NI Products (Ubuntu)
- Updated2025-07-30
- 2 minute(s) read
Install NI drivers and software on Ubuntu.
Notice Select NI drivers are incompatible with
default IOMMU settings on Linux Kernel 6.8 and later. This incompatibility results in
generic hardware or internal errors while using NI hardware. Refer to Driver
Errors with Ubuntu 22.04 and 24.04 New Installation or Kernel 6.8 (or Later)
Upgrade for more information.
-
Open the Command Prompt and run the following commands to apply the latest
system updates to avoid installation issues.
sudo apt update
sudo apt dist-upgrade
Note This command may update your kernel to the latest version. - Restart your system.
-
Open the Command Prompt and run the following command to install the repository
registration package.
sudo apt install ./filename.deb
Where
- filename.deb is the repository registration package you chose in Installing NI Drivers and Software on Linux Desktop.
-
Run the following command to refresh the package list.
sudo apt update
-
Install the following basic Ubuntu packages on the target system.
- dkms
- expat
- libopenal1
Note You must install these packages to run the NI packages. -
Run the following command for each driver or application you want to
install.
sudo apt install package-name
Where
- package-name is the name of the package as it appears in Supported Driver Packages for Linux Distributions.
Note Some drivers require multiple packages. Refer to Supported Driver Packages for Linux Distributions for driver-specific information. -
NI recommends running the following command to install the Hardware
Configuration Utility.
sudo apt install ni-hwcfg-utility
-
Run the following command to build NI kernel drivers.
sudo dkms autoinstall
- Restart your system.
Related Information
- Installing NI Drivers and Software on Linux Desktop
Download the repository registration package to allow the native package manager for your Linux distribution to install NI driver and software packages.
- Supported Driver Packages for Linux Distributions
- Driver Errors with Ubuntu 22.04 and 24.04 New Installation or Kernel 6.8 (or Later) Upgrade
When setting up or replicating an existing Ubuntu 22.04 or 24.04 system, runtime failure messages may occur.