HiPi
Perl Modules for Raspberry Pi
Version 0.85 - released 28 November 2020

Installation

If you are upgrading from HiPi version 0.51 or below, read the upgrade notes at Upgrading from HiPi 0.51 before continuing.

Using Debian Package for Raspberry Pi OS ( Buster )

A HiPi debian package is available for Raspberry Pi OS ( Buster ).

For other versions of Raspberry Pi OS / Raspbian build from source or CPAN.

32-bit armhf package

Download libhipi-perl_0.85-1_armhf.deb then install and resolve dependencies.

wget http://hipi.znix.com/download/libhipi-perl_0.85-1_armhf.deb
sudo apt-get update
sudo dpkg --install libhipi-perl_0.85-1_armhf.deb
sudo apt-get -y -f install

You don't have to run the seperate apt-get command to resolve dependencies if you use gdebi.

sudo apt-get update
sudo apt-get install gdebi-core
sudo gdebi libhipi-perl_0.85-1_armhf.deb

64-bit arm64 package

Download libhipi-perl_0.85-1_arm64.deb then install and resolve dependencies.

wget http://hipi.znix.com/download/libhipi-perl_0.85-1_arm64.deb
sudo apt-get update
sudo dpkg --install libhipi-perl_0.85-1_arm64.deb
sudo apt-get -y -f install

You don't have to run the seperate apt-get command to resolve dependencies if you use gdebi.

sudo apt-get update
sudo apt-get install gdebi-core
sudo gdebi libhipi-perl_0.85-1_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-get update
sudo apt-get 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

From Source

You can download the latest source and build with the usual

  • perl Build.PL
  • perl Build
  • perl Build test
  • perl Build install