HiPi
Perl Modules for Raspberry Pi
Version 0.80 - released 22 July 2019

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 Raspbian Buster

A HiPi debian package is available for Raspbian Buster.

For other versions of Raspbian build from source or CPAN.

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

sudo apt-get update
sudo dpkg --install libhipi-perl_0.80-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.80-1_armhf.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 Raspbian 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

From Source

You can download the latest source and build with the usual

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