
HiPi is a Perl distribution that you install into the
existing Perl on your Raspberry Pi. The build process
includes installation of all dependencies.

It is highly recommended that you update and upgrade
your installation of Raspbian Jessie before installing
the HiPi modules.

  sudo apt-get update
  sudo apt-get upgrade

This release of HiPi is tested against the
current Raspbian release.

For a simple automated installation:

  wget http:/raspberry.znix.com/hipifiles/hipi-install
  sudo perl hipi-install

For a do-it yourself you could do

cpan -i HiPi

or

wget http:/raspberry.znix.com/hipifiles/hipi-latest.tar.gz
tar -xvzf hipi-latest.tar.gz
cd hipi-src
perl Build.PL
perl Build
perl Build test
sudo perl Build install

You can look at the script userbin/hipi-install in the
source to see how it installs library dependencies. It
might save you much pain.
 
Once installed you can run the HiPi Control GUI with the
command

  gksudo hipi-control-gui

It is necessary to run the control gui using gksudo
(graphical sudo) as the HiPi Control GUI needs permissions
to access the GPIO pins and device driver settings. You
can use the HiPi Control GUI to set up your device drivers
so that many of your other scripts do not need administrator
(root) privileges to run.
