Updated Build and Install (markdown)
@@ -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.
|
||||
|
||||
As usual you can use option `CC`, `INSTALL`, `prefix` and `DESTDIR` to adapt to your use-cases.
|
||||
Reference in New Issue
Block a user