Mihrab for Linux
Version 2.38.1 · x86_64 and arm64
Add Mihrab's repository once, and it is installed, updated and removed by your system's own package manager, with the rest of your updates.
Debian, Ubuntu, Mint, Pop!_OS (apt)
sudo curl -fsSLo /usr/share/keyrings/mihrab.gpg https://mihrabhq.github.io/packages/mihrab.gpg
sudo curl -fsSLo /etc/apt/sources.list.d/mihrab.sources https://mihrabhq.github.io/packages/mihrab.sources
sudo apt update && sudo apt install mihrab
Remove: sudo apt purge mihrab, and the two files above to drop the repository.
Fedora (dnf)
sudo curl -fsSLo /etc/yum.repos.d/mihrab.repo https://mihrabhq.github.io/packages/mihrab.repo
sudo dnf install mihrab
Remove: sudo dnf remove mihrab, and /etc/yum.repos.d/mihrab.repo to drop the repository.
openSUSE (zypper)
sudo zypper addrepo https://mihrabhq.github.io/packages/mihrab.repo
sudo zypper install mihrab
Remove: sudo zypper remove mihrab and sudo zypper removerepo mihrab.
Arch, Manjaro, EndeavourOS (pacman, yay)
curl -fsSL https://mihrabhq.github.io/packages/mihrab.asc | sudo pacman-key --add -
sudo pacman-key --lsign-key 28BB36D6D8388A8EF15EEA24E19DCF135A3D8035
printf '\n[mihrab]\nServer = https://mihrabhq.github.io/packages/arch/$arch\n' | sudo tee -a /etc/pacman.conf
sudo pacman -Syu mihrab
Updates come with sudo pacman -Syu or yay -Syu. Remove: sudo pacman -R mihrab, and the [mihrab] lines in /etc/pacman.conf to drop the repository.
The signing key
All three repositories are signed; apt, dnf, zypper and pacman check every update against this key (fingerprint 28BB36D6D8388A8EF15EEA24E19DCF135A3D8035) before installing it.