Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Simplify instrucations for manually installing the nightly Debian packages.

`apt` can be used to install `*.deb` files (if give a path, hence the `./`, and takes care of dependencies.
  • Loading branch information
gregoa committed Jul 24, 2023
1 parent 0f05563 commit 8e3fd2c
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,26 +38,18 @@ To install the latest release, run:

```
wget https://lib.finalrewind.org/deb/libtravel-routing-de-vrr-perl_latest_all.deb
sudo dpkg -i libtravel-routing-de-vrr-perl_latest_all.deb
sudo apt --fix-broken install
sudo apt install ./libtravel-routing-de-vrr-perl_latest_all.deb
rm libtravel-routing-de-vrr-perl_latest_all.deb
```

For a (possibly broken) development snapshot of the Git master branch, run:

```
wget https://lib.finalrewind.org/deb/libtravel-routing-de-vrr-perl_dev_all.deb
sudo dpkg -i libtravel-routing-de-vrr-perl_dev_all.deb
sudo apt --fix-broken install
sudo apt install ./libtravel-routing-de-vrr-perl_dev_all.deb
rm libtravel-routing-de-vrr-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::Routing::DE::VRR
installation.

Uninstallation works as usual:

```
Expand Down

0 comments on commit 8e3fd2c

Please sign in to comment.