diff --git a/Build-and-Install.md b/Build-and-Install.md index 9304fe6..aeff254 100644 --- a/Build-and-Install.md +++ b/Build-and-Install.md @@ -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 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 $ 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 This will install the binary in `/usr/bin` by default. -The more classical autotools suite is also available. \ No newline at end of file + +As usual you can use option `CC`, `INSTALL`, `prefix` and `DESTDIR` to adapt to your use-cases. \ No newline at end of file