Installing NI Products (Ubuntu)

Install NI drivers and software on Ubuntu.

Notice Select NI drivers are incompatible with default IOMMU settings on Linux Kernel 6.8 and later, resulting in generic hardware or internal errors while using NI hardware. Consult 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. Reboot 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.
  4. Run the following command to refresh the package list.

    sudo apt update

  5. 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 the Supported Driver Packages for Linux Distributions topic.
    Note Some drivers require multiple packages, refer to the Supported Driver Packages for Linux Distributions for driver-specific information.
  6. NI recommends running the following command to install the Hardware Configuration Utility.

    sudo apt install ni-hwcfg-utility

  7. Run the following command to build NI kernel drivers.

    sudo dkms autoinstall

  8. Reboot your system.