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.
Complete the steps in Installing NI Drivers and Software on Linux Desktop.
  1. 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.
  2. Restart your system.
  3. 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.
  4. Run the following command to refresh the package list.
    sudo apt update
  5. Install the following basic Ubuntu packages on the target system.
    • dkms
    • expat
    • libopenal1
    Note You must install these packages to run the NI packages.
  6. 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.
  7. NI recommends running the following command to install the Hardware Configuration Utility.
    sudo apt install ni-hwcfg-utility
  8. Run the following command to build NI kernel drivers.
    sudo dkms autoinstall
  9. Restart your system.