Installing Linux NPU Driver v1.30.0 on Ubuntu 24.04: A Quick‑Start Guide
If the goal is to get a fresh NPU stack up and running on the latest Ubuntu release, this walkthrough cuts straight to the install commands and explains why each step matters. The process assumes a clean slate – any legacy Intel driver packages will be purged before new ones are added.
Preparing the System
First, strip away any old Intel NPU components that might clash with the new version. A single purge command removes everything related to previous compiler, firmware, and Level‑Zero packages:
sudo dpkg --purge --force-remove-reinstreq intel-driver-compiler-npu intel-fw-npu \ intel-level-zero-npu intel-level-zero-npu-dbgsym
If the user has previously installed the older Intel graphics PPA or a different Level Zero runtime, those packages can also cause conflicts. Removing them early prevents “file already exists” errors later on.
Fetching the Release Archive
The driver is distributed as a tarball that contains all Debian packages for Ubuntu 24.04. Grab it from GitHub and immediately extract its contents:
wget https://github.com/intel/linux-npu-driver/releases/download/v1.30.0/\ linux-npu-driver-v1.30.0.20260311-22963593310-ubuntu2404.tar.gz tar -xf linux-npu-driver-v1.30.0.20260311-22963593310-ubuntu2404.tar.gz
The tarball name embeds the build date and commit hash, giving a clear audit trail of exactly what’s being installed.
Installing Required Dependencies
A quick apt update followed by a single install pulls in the Intel Threading Building Blocks library that the NPU compiler depends on:
sudo apt update sudo apt install libtbb12
Skipping this step often results in a “missing shared object” error when attempting to install the driver packages.
Installing the Driver Packages
With dependencies satisfied, drop all Debian files into the package manager. The dpkg -i *.deb command processes them atomically, ensuring that inter‑package relationships are respected:
sudo dpkg -i *.deb
If any of these packages fail to install because a conflicting Level Zero runtime is already present, the following purge will clear the way:
sudo dpkg --purge --force-remove-reinstreq level-zero level-zero-devel
Adding the Latest libze1 from Kobuk
The Level Zero loader must match the compiler’s expectations. The Kobuk PPA hosts a snapshot that aligns with v1.30.0, so download and install it directly:
wget https://snapshot.ppa.launchpadcontent.net/kobuk-team/intel-graphics/ubuntu/\ 20260205T100000Z/pool/main/l/level-zero-loader/libze1_1.26.2-1~24.04~ppa1_amd64.deb sudo dpkg -i libze1_*.deb
If a pre‑installed libze1 version conflicts, purge it first:
sudo dpkg --purge --force-remove-reinstreq libze1
Granting Render Permissions
By default, only the render group may access /dev/accel. Adding the current user to that group unlocks the device without a system reboot:
sudo gpasswd -a ${USER} render
newgrp render
A full reboot is optional but guarantees all kernel modules have re‑loaded cleanly.
Verifying Device Presence
Once everything is in place, the NPU character device should appear under /dev/accel:
ls /dev/accel/accel0 /dev/accel/accel0
The presence of this node confirms that the kernel driver loaded successfully.
Checking Kernel Messages for Intel VPU Status
A quick glance at dmesg shows whether the firmware reported any problems during initialization:
sudo dmesg | grep -i intel_vpu
In a recent test, an out‑of‑date firmware version caused the VPU to stall; updating the firmware package before installing the driver prevented that hiccup.
Verifying Package Integrity with GPG
Each Debian file is signed. To confirm authenticity:
Import the public key once:
curl https://keys.openpgp.org/vks/v1/by-fingerprint/EA267657A608300C296B8F8AD52C9665A4077678 | gpg --import
After extracting the tarball, run a quick verification loop:
for PACKAGE in *deb.asc; do gpg --verify $PACKAGE; done
Any mismatch will surface immediately, saving time that would otherwise be spent debugging subtle installation failures.
Release Linux NPU Driver v1.30.0
The mul_add network has been added to the repository.
The instruction on how to download the model from linux-npu-driver/validation/models In the Ubuntu Intel Graphics PPA.
The instruction on how to download the model from linux-npu-driver/validation/models
In the Ubuntu Intel Graphics PPA.