summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md38
1 files changed, 37 insertions, 1 deletions
diff --git a/README.md b/README.md
index 09c3174..aed9398 100644
--- a/README.md
+++ b/README.md
@@ -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