Flatpak installer tutorial
Obtaining flatpak bundles
Download a flatpak bundle from the main installation page
Installing flatpak bundles
Install the flatpak bundle with the command (where pep.flatpak is the name of the downloaded file):
flatpak --user install pep.flatpak
Updating flatpak bundles
There is no special update routine for the flatpak bundles (yet). Bundles can be updated by installing the new version which will replace the previous version.
Using pepcli with flatpak
When the flatpak is installed, the most convenient way to use pepcli is by installing the CLI integration (where nl.ru.cs.pep.example-acc should be replace by the actual flatpak URI/domain, URI can be autocompleted on the console):
flatpak run nl.ru.cs.pep.example-acc install-cli-integration
This will install the CLI integration scripts to ~/bin. Make sure this location is in your $PATH by adding it in e.g. .bashrc or .zshrc.
You can now logon using example-acc-pepLogon and run pepcli commands using example-acc-pepcli (e.g. example-acc-pepcli query enrollment). This way you can also work with different PEP environments.
You can also activate PEP for a specific environment by running
example-acc-activate
You can now use the commands pepcli, pepLogon and pepAssessor.
example-acc-activate will also ask whether you want to install autocompletions. It uses sudo for this, so you need to have sudo-access, and can be prompted for your password.
See the PEP Command Line Interface documentation for more information on how to use pepcli.