16
README.md
16
README.md
@@ -52,22 +52,20 @@ By default, an offset of 10min is accepted.
|
|||||||
|
|
||||||
## Build and Install
|
## Build and Install
|
||||||
|
|
||||||
We recommend the use of [meson](http://mesonbuild.com) for building instead of
|
You will need `git`, `make`, `gcc` and `libsodium`:
|
||||||
the more classical autotools suite (also available for old systems).
|
|
||||||
|
|
||||||
On Ubuntu, the following command should be sufficient to get all the necessary build dependencies:
|
$ sudo apt install git make gcc libsodium-dev # debian based
|
||||||
|
$ sudo yum install git make gcc libsodium-devel # redhat based
|
||||||
$ sudo apt-get install meson libsodium-dev pkg-config
|
|
||||||
|
|
||||||
To build and install the latest release from github:
|
To build and install the latest release from github:
|
||||||
|
|
||||||
$ git clone https://github.com/angt/glorytun --recursive
|
$ git clone https://github.com/angt/glorytun --recursive
|
||||||
$ meson glorytun glorytun/build
|
$ cd glorytun
|
||||||
$ sudo ninja -C glorytun/build install
|
$ 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
|
## Usage
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user