diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2023-12-02 22:30:27 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2023-12-02 22:30:27 +0100 |
commit | 44a1f979a01dda4c6aef7955cc388fde14e2af9f (patch) | |
tree | 40de44679dd8167c9c646167825ffd79232415c7 | |
parent | 07526d9d01bf9debb1e167b16d67cc792be53ffd (diff) |
README: Add finalrewind.org APT repository to instructions
-rw-r--r-- | README.md | 38 |
1 files changed, 37 insertions, 1 deletions
@@ -5,9 +5,10 @@ routing interfaces. See the [Travel::Routing::DE::HAFAS homepage](https://finalr ## Installation -You have four installation options: +You have five installation options: * `.deb` releases for Debian-based distributions +* finalrewind.org APT repository for Debian-based distributions * Installing the latest release from CPAN * Installation from source * Using a Docker image @@ -39,6 +40,41 @@ Uninstallation works as usual: sudo apt remove libtravel-routing-de-hafas-perl ``` +### finalrewind.org APT repository + +[lib.finalrewind.org/apt](https://lib.finalrewind.org/apt) provides an APT +repository with Debian packages of the latest release versions. Note that this +is not a Debian repository; it is operated under a best-effort SLA and if you +use it you will have to trust me not to screw up your system with bogus +packages. Also, note that the packages are not part of the official Debian +repository and are not covered by its quality assurance process. + +To set up the repository and install the latest Travel::Routing::DE::HAFAS +release, run: + +``` +curl -s https://finalrewind.org/apt.asc | sudo tee /etc/apt/trusted.gpg.d/finalrewind.asc +echo 'deb https://lib.finalrewind.org/apt stable main' | sudo tee /etc/apt/sources.list.d/finalrewind.list +sudo apt update +sudo apt install libtravel-routing-de-hafas-perl +``` + +Afterwards, `apt update` and `apt upgrade` will automatically install new +Travel::Routing::DE::HAFAS releases. + +Uninstallation of Travel::Routing::DE::HAFAS works as usual: + +``` +sudo apt remove libtravel-routing-de-hafas-perl +``` + +To remove the APT repository from your system, run: + +``` +sudo rm /etc/apt/trusted.gpg.d/finalrewind.asc \ + /etc/apt/sources.list.d/finalrewind.list +``` + ### Installation from CPAN Travel::Routing::DE::HAFAS releases are published on the Comprehensive Perl |