Update 'INSTALL.md'

This commit is contained in:
Duke Leto
2022-02-04 14:55:44 +00:00
parent 7a81978d9a
commit bc3316165d

View File

@@ -26,11 +26,12 @@ sudo swapon /swapfile
sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib \ sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib \
autoconf libtool ncurses-dev unzip git python zlib1g-dev wget \ autoconf libtool ncurses-dev unzip git python zlib1g-dev wget \
bsdmainutils automake curl unzip nano libsodium-dev bsdmainutils automake curl unzip nano libsodium-dev
# pull # clone git repo
git clone https://git.hush.is/hush/hush3 git clone https://git.hush.is/hush/hush3
cd hush3 cd hush3
# Build # 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 ### 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 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 ## Run a HUSH Node
After you have compiled Hush, then you can run it with the following command: After you have compiled Hush, then you can run it with the following command: