You can install Piper by either using your distribution's repository (preferred if it exists), using the Flatpak or by building it from source. Piper is packaged for the following distributions:
Using your distribution's repository
We are aware of the following distributions shipping Piper in their repositories:
dnf install piper
pacman -S piper
- Ubuntu: add this PPA, and then install using
sudo apt install piper
zypper install piper
If your favorite distribution also ships Piper, please let us know so we can add it to the list here.
Installing the Flatpak
You can find Piper on Flathub here.
Building from source
$ git clone https://github.com/libratbag/piper.git $ cd piper $ meson builddir --prefix=/usr/
To build or re-build after code-changes and install, run:
$ ninja -C builddir $ sudo ninja -C builddir install
builddir is the build output directory and can be changed to any other directory name.