Updated Build and Install (markdown)

Adrien Gallouët
2019-11-13 15:05:06 +01:00
parent a34490d9b1
commit 57e22bb096

@@ -1,13 +1,21 @@
You will need `git`, `make`, `gcc` and `libsodium`: You will need `git`, `make`, `gcc` (or `clang`) and `libsodium`:
$ sudo apt install git make gcc libsodium-dev # debian based $ sudo apt install git make gcc libsodium-dev # debian based
$ sudo yum install git make gcc libsodium-devel # redhat based $ sudo yum install git make gcc libsodium-devel # redhat based
To build and install the latest release from github: To build and install the latest version from GitHub:
$ git clone https://github.com/angt/glorytun --recursive $ git clone https://github.com/angt/glorytun --recursive
$ cd glorytun $ cd glorytun
$ make
When `libsodium` is too old or not available on your system,
just call the script `./sodium.sh` before `make`.
Finally, to install the stripped binary, call:
$ sudo make install $ sudo make install
This will install the binary in `/usr/bin` by default. This will install the binary in `/usr/bin` by default.
The more classical autotools suite is also available.
As usual you can use option `CC`, `INSTALL`, `prefix` and `DESTDIR` to adapt to your use-cases.