Can't install Hailo PCI driver

Running sudo dpkg --install hailort-pcie-driver_4.15.0_all.deb fails.

Installing the PCIe driver includes compilation and some dependencies are required.
Make sure you have build-essentials and linux kernel headers installed.

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install -y build-essential
sudo apt-get install -y  linux-headers-$(uname -r)

On Raspberry pi install linux headers with this command:

sudo apt-get install -y raspberrypi-kernel-headers

BTW, for Rockchip device you could not use the deb to install hailort driver.
unless you had install the kerenl version kernel deb(which need be build from the source code).

Thanks Alex, Adding link to your topic for installing the driver on the RK3588.

Sometimes, if you previously tried to install it and failed, you have to purge the driver before trying again:

sudo dpkg ­­--purge --force-all hailort-­pcie-­driver

and a reboot may be necessary.

on my rockchip orangepi5 plus,with Ubuntu 22.04 kerenel 5.10 and 24.04 kernel 6.1

before install the pci driver deb(only test with version 4.7), should install dkms first. then a normal dpkg is ok.

sudo apt install dkms.
sudo dpkg -i hailo-xxx-pci.deb