Installation
Using Debian Packages for Raspberry Pi OS
Debian packages are available on this page for Raspberry Pi OS ( Debian 12 Bookworm ).
Packages are also available for Raspberry Pi OS ( Legacy Debian 11 Bullseye ).
For other versions of Raspberry Pi OS / Raspbian build from source or CPAN.
If you would like to install runtime dependencies first rather than resolving during dpkg install the list is:
sudo apt update sudo apt install libdevice-serialport-perl \ libfile-slurp-perl \ libjson-perl \ libtry-tiny-perl \ libuniversal-require-perl \ libio-epoll-perl \ libimage-imlib2-perl \ libbit-vector-perl \ libxml-libxml-perl \ libwww-perl \ libperl-dev \ zlib1g-dev
32-bit armhf package
Download libhipi-perl_0.92-1.bookworm_armhf.deb then install and resolve dependencies.
wget https://hipi.znix.com/download/libhipi-perl_0.92-1.bookworm_armhf.deb sudo apt update sudo dpkg --install libhipi-perl_0.92-1.bookworm_armhf.deb sudo apt -y -f install
You don't have to run the seperate apt command to resolve dependencies if you use gdebi.
sudo apt update sudo apt install gdebi-core sudo gdebi libhipi-perl_0.92-1.bookworm_armhf.deb
64-bit arm64 package
Download libhipi-perl_0.92-1.bookworm_arm64.deb then install and resolve dependencies.
wget https://hipi.znix.com/download/libhipi-perl_0.92-1.bookworm_arm64.deb sudo apt update sudo dpkg --install libhipi-perl_0.92-1.bookworm_arm64.deb sudo apt -y -f install
You don't have to run the seperate apt command to resolve dependencies if you use gdebi.
sudo apt update sudo apt install gdebi-core sudo gdebi libhipi-perl_0.92-1.bookworm_arm64.deb
From CPAN
You can install from CPAN in the normal way.
cpan -i HiPi
If you would like to install dependencies first from the Raspberry Pi OS repository (recommended) rather than have cpan build and install them locally, the list is:
sudo apt update sudo apt install libmodule-build-perl \ libdevice-serialport-perl \ libfile-copy-recursive-perl \ libfile-slurp-perl \ libjson-perl \ libtry-tiny-perl \ libuniversal-require-perl \ libio-epoll-perl \ libimage-imlib2-perl \ libbit-vector-perl \ libxml-libxml-perl \ libwww-perl \ libperl-dev \ zlib1g-dev \ i2c-dev
From Source
You can download the latest source and build with the usual
- perl Build.PL
- perl Build
- perl Build test
- perl Build install