|
|
@ -26,11 +26,12 @@ sudo swapon /swapfile |
|
|
|
sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib \ |
|
|
|
autoconf libtool ncurses-dev unzip git python zlib1g-dev wget \ |
|
|
|
bsdmainutils automake curl unzip nano libsodium-dev |
|
|
|
# pull |
|
|
|
# clone git repo |
|
|
|
git clone https://git.hush.is/hush/hush3 |
|
|
|
cd hush3 |
|
|
|
# Build |
|
|
|
./build.sh -j$(nproc) |
|
|
|
# This uses 3 build processes, you need 2GB of RAM for each. |
|
|
|
./build.sh -j3 |
|
|
|
``` |
|
|
|
|
|
|
|
### Building On Ubuntu 16.04 and older systems |
|
|
@ -45,6 +46,23 @@ apt-get install -y gcc-7 g++-7 && \ |
|
|
|
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 |
|
|
|
``` |
|
|
|
|
|
|
|
### Build on mac |
|
|
|
|
|
|
|
These instructions are a work in progress. Please report issues to https://hush.is/tg_support |
|
|
|
|
|
|
|
``` |
|
|
|
sudo port update |
|
|
|
sudo port upgrade outdated |
|
|
|
sudo port install qt5 |
|
|
|
|
|
|
|
# clone git repo |
|
|
|
git clone https://git.hush.is/hush/hush3 |
|
|
|
cd hush3 |
|
|
|
# Build |
|
|
|
# This uses 3 build processes, you need 2GB of RAM for each. |
|
|
|
./build.sh -j3 |
|
|
|
``` |
|
|
|
|
|
|
|
## Run a HUSH Node |
|
|
|
|
|
|
|
After you have compiled Hush, then you can run it with the following command: |
|
|
|