diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-05-03 19:45:00 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-05-03 19:45:00 +0200 |
commit | d5bcd55f5f1591a4f1cbbbbb0c1e1d18e26bd443 (patch) | |
tree | 739841b34f35e48f81e1b324194266ea039ce5fe /README.md | |
parent | e7e321f58b594f17dc50fa3632ef1afc8d51dcd1 (diff) |
README: Installation without root
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 28 |
1 files changed, 22 insertions, 6 deletions
@@ -15,15 +15,15 @@ Debian-based Linux distributions. It is also available as in the archlinux User Repository (AUR). Both provide the commandline client and the Perl module. -If you are using another distribution and/or would prefer a more recent -version, you have four installation options: +If you are using another distribution or would prefer a more recent version, +you have four installation options: * Nightly `.deb` builds for Debian-based distributions * Installing the latest release from CPAN * Installation from source * Using a Docker image -Except for Docker, __efa__ is available in your PATH after installation. You +Except for Docker, **efa** is available in your PATH after installation. You can run `efa --version` to verify this. Documentation is available via `man efa`. @@ -31,8 +31,8 @@ can run `efa --version` to verify this. Documentation is available via [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 thus not covered by its quality -assurance processes. +of the official Debian repository and are not covered by its quality assurance +process. To install the latest release, run: @@ -68,7 +68,7 @@ sudo apt remove libtravel-routing-de-vrr-perl Travel::Routing::DE::VRR releases are published on the Comprehensive Perl Archive Network (CPAN) and can be installed using standard Perl module -tools such as `cpanminus`. +tools such as cpanminus. Before proceeding, ensure that you have standard build tools (i.e. make, pkg-config and a C compiler) installed. You will also need the following @@ -124,6 +124,22 @@ If you are using the Git repository, use the following commands: sudo ./Build install ``` +If you do not have superuser rights or do not want to perform a system-wide +installation, you may leave out `Build install` and use **efa** from the +current working directory. + +With carton: + +``` +carton exec efa --version +``` + +Otherwise (also works with carton): + +``` +perl -Ilocal/lib/perl5 -Ilib bin/efa --version +``` + ### Running efa via Docker An efa image is available on Docker Hub. It is intended for testing purposes: |