Installation
Using Debian Packages for Raspberry Pi OS
Debian packages are available for the following versions of Raspberry Pi OS
- Raspberry Pi OS Debian 13 Trixie ( current )
- Raspberry Pi OS Debian 12 Bookworm ( legacy )
- Raspberry Pi OS Debian 11 Bullseye ( deprecated )
From CPAN
You can always 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 \
libi2c-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