This repository host the Pi4J APT/PPA Package Repository accessible via pi4j.com/download.
The download files are located on github.com/Pi4J/download.
For more information about the Pi4J Project, please see: pi4j.com.
To use a snapshot version of the library in your Maven project, add the following repositories-settings to your pom.xml
.
<repositories>
<repository>
<id>oss-snapshots-repo</id>
<name>Sonatype OSS Maven Repository</name>
<url>https://oss.sonatype.org/content/groups/public</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
The list of available releases and snapshots can also be found on sonatype.org.
The easiest way to get started with the Pi4J APT/PPA repository is to use our pre-built installation scripts:
curl -sSL https://pi4j.com/v2/install | sudo bash
curl -sSL https://pi4j.com/install | sudo bash
Should you decide against running our installer script, you can also use these commands to setup the appropriate repository:
wget -qO- https://pi4j.com/pi4j.gpg | sudo apt-key add -
echo 'deb [arch=all] https://pi4j.com/download v2 stable' | sudo tee /etc/apt/sources.list.d/pi4j.list
sudo apt update
sudo apt install pi4j
wget -qO- https://pi4j.com/pi4j.gpg | sudo apt-key add -
echo 'deb [arch=all] https://pi4j.com/download v2 testing' | sudo tee /etc/apt/sources.list.d/pi4j.list
sudo apt update
sudo apt install pi4j
wget -qO- https://pi4j.com/pi4j.gpg | sudo apt-key add -
echo 'deb [arch=all] https://pi4j.com/download v1 stable' | sudo tee /etc/apt/sources.list.d/pi4j.list
sudo apt update
sudo apt install pi4j
wget -qO- https://pi4j.com/pi4j.gpg | sudo apt-key add -
echo 'deb [arch=all] https://pi4j.com/download v1 testing' | sudo tee /etc/apt/sources.list.d/pi4j.list
sudo apt update
sudo apt install pi4j