From c8436d54ed3281c240c5533f1b6152751946a306 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Tue, 21 Nov 2023 21:15:11 +0100 Subject: README: no more nightly builds; use apt rather than dpkg --- README.md | 27 +++++---------------------- 1 file changed, 5 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 2be3105..05af679 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ homepage](https://finalrewind.org/projects/Travel-Status-DE-DeutscheBahn) and You have four installation options: -* Nightly `.deb` builds for Debian-based distributions +* `.deb` releases for Debian-based distributions * Installing the latest release from CPAN * Installation from source * Using a Docker image @@ -29,37 +29,20 @@ Except for Docker, __hafas-m__ is available in your PATH after installation. You can run `hafas-m --version` to verify this. Documentation is available via `man hafas-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-deutschebahn-perl_latest_all.deb -sudo dpkg -i libtravel-status-de-deutschebahn-perl_latest_all.deb -sudo apt --fix-broken install +sudo apt install ./libtravel-status-de-deutschebahn-perl_latest_all.deb rm libtravel-status-de-deutschebahn-perl_latest_all.deb ``` -For a (possibly broken) development snapshot of the Git master branch, run: - -``` -wget https://lib.finalrewind.org/deb/libtravel-status-de-deutschebahn-perl_dev_all.deb -sudo dpkg -i libtravel-status-de-deutschebahn-perl_dev_all.deb -sudo apt --fix-broken install -rm libtravel-status-de-deutschebahn-perl_dev_all.deb -``` - -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::DeutscheBahn installation. - Uninstallation works as usual: ``` -- cgit v1.2.3