Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Signed-off-by: Adrien Gallouët <[email protected]>
  • Loading branch information
angt committed Apr 3, 2019
1 parent 3da880f commit db718d5
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit db718d5

Please sign in to comment.