From db718d59426957eef89357d5b58ae59cae2f8c5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Gallou=C3=ABt?= Date: Wed, 3 Apr 2019 10:00:59 +0000 Subject: [PATCH] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Adrien Gallouët --- README.md | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 06c9261..2d49170 100644 --- a/README.md +++ b/README.md @@ -52,22 +52,20 @@ By default, an offset of 10min is accepted. ## Build and Install -We recommend the use of [meson](http://mesonbuild.com) for building instead of -the more classical autotools suite (also available for old systems). +You will need `git`, `make`, `gcc` and `libsodium`: -On Ubuntu, the following command should be sufficient to get all the necessary build dependencies: - - $ sudo apt-get install meson libsodium-dev pkg-config + $ sudo apt install git make gcc libsodium-dev # debian based + $ sudo yum install git make gcc libsodium-devel # redhat based To build and install the latest release from github: $ git clone https://github.com/angt/glorytun --recursive - $ meson glorytun glorytun/build - $ sudo ninja -C glorytun/build install + $ cd glorytun + $ sudo make install -This will install all binaries in `/usr/local/bin` by default. +This will install the binary in `/usr/bin` by default. -You can easily customize your setup with meson (see `meson help`). +The more classical autotools suite is also available. ## Usage