diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2023-12-03 07:55:48 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2023-12-03 07:55:48 +0100 |
commit | 4098c486f25c28b3cfadf74dc3496beebaa4efe6 (patch) | |
tree | 7b5e81d536c28f4b6721e17e31242be38a31eccd /README.md | |
parent | 5ce49bedc18f8952478d783b2a7081a8aa7436a7 (diff) |
README: Remove outdate AUR reference; remove nightly builds; add APT repo
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 63 |
1 files changed, 39 insertions, 24 deletions
@@ -7,13 +7,10 @@ homepage](https://finalrewind.org/projects/Travel-Status-DE-VRR/) for details. ## Installation -efa-m is available as -[perl-travel-status-de-vrr-git](https://aur.archlinux.org/packages/perl-travel-status-de-vrr-git/) -in the archlinux User Repository (AUR). +You have five installation options: -For other distributions, you have four installation options: - -* Nightly `.deb` builds for Debian-based distributions +* `.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 @@ -22,41 +19,59 @@ Except for Docker, __efa-m__ is available in your PATH after installation. You can run `efa-m --version` to verify this. Documentation is available via `man efa-m`. -### Nightly Builds for Debian +### Release Builds for Debian [lib.finalrewind.org/deb](https://lib.finalrewind.org/deb) provides Debian -packages of both development and release versions. Note that these are not part -of the official Debian repository and are not covered by its quality assurance -process. +packages of all release versions. Note that these are not part of the official +Debian repository and are not covered by its quality assurance process. To install the latest release, run: ``` wget https://lib.finalrewind.org/deb/libtravel-status-de-vrr-perl_latest_all.deb -sudo dpkg -i libtravel-status-de-vrr-perl_latest_all.deb -sudo apt --fix-broken install +sudo apt install ./libtravel-status-de-vrr-perl_latest_all.deb rm libtravel-status-de-vrr-perl_latest_all.deb ``` -For a (possibly broken) development snapshot of the Git master branch, run: +Uninstallation works as usual: ``` -wget https://lib.finalrewind.org/deb/libtravel-status-de-vrr-perl_dev_all.deb -sudo dpkg -i libtravel-status-de-vrr-perl_dev_all.deb -sudo apt --fix-broken install -rm libtravel-status-de-vrr-perl_dev_all.deb +sudo apt remove libtravel-status-de-vrr-perl ``` -Note that dpkg, unlike apt, does not automatically install missing -dependencies. If a dependency is not satisfied yet, `dpkg -i` will complain -about unmet dependencies and bail out. `apt --fix-broken install` installs -these dependencies and also silently finishes the Travel::Status::DE::VRR -installation. +### finalrewind.org APT repository -Uninstallation works as usual: +[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: ``` -sudo apt remove libtravel-status-de-vrr-perl +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 |