![]() ![]() ![]() |
|
HiPi is a Perl distribution that you install into the existing Perl on your Raspberry Pi. The build process includes installation of all dependencies.
For a simple automated installation:
wget http://raspberry.znix.com/hipifiles/hipi-install sudo perl hipi-install
This automated install will prompt you for confirmation before attempting to install any package dependencies or pre-built libraries.
If you want to download the latest tarball and run the standard Perl install steps:
... remove any prior download of HiPi source ... rm hipi-latest.tar.gz rm -rf hipi-latest ... download source ... wget http://raspberry.znix.com/hipifiles/hipi-latest.tar.gz ... extract source ... tar -xvzf hipi-latest.tar.gz ... read source ... then ... ... change into directory and do build / install ... cd hipi-latest perl Build.PL perl Build perl Build test sudo perl Build install
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.
Once installed you can check for updates and upgrade to the latest version by running:
hipi-upgrade