Browse Source

Merge pull request 'Add Fedora install process' (#384) from onryo/hush3:dev into dev

Reviewed-on: #384
wolfssl_win
duke 3 months ago
parent
commit
d2b66fb2f2
  1. 23
      INSTALL.md

23
INSTALL.md

@ -2,12 +2,6 @@
Instructions to compile Hush yourself.
## Build HUSH dependencies
The following build process generally applies to Ubuntu (and similar) Linux
distributions. For best results it is recommended to use Ubuntu Linux 16.04
or later.
## Swap Space (Optional)
You will need at least 4GB of RAM to build hush from git source, OR you can
enable a swap file. To enable a 4GB swap file on modern Linux distributions:
@ -19,7 +13,7 @@ sudo mkswap /swapfile
sudo swapon /swapfile
```
## Build on Linux:
## Build on Debian/Ubuntu:
```sh
# install build dependencies
@ -34,6 +28,19 @@ cd hush3
./build.sh -j3
```
## Build on Fedora:
```sh
# install build dependencies
sudo dnf install make automake gcc gcc-c++ kernel-devel cmake libtool ncurses-devel patch -y
# 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
```
### Building On Ubuntu 16.04 and older systems
Some older compilers may not be able to compile modern code, such as gcc 5.4 which comes with Ubuntu 16.04 by default. Here is how to install gcc 7 on Ubuntu 16.04. Run these commands as root:
@ -46,7 +53,7 @@ apt-get install -y gcc-7 g++-7 && \
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60
```
### Build on mac
### Build on Mac
These instructions are a work in progress. Please report issues to https://hush.is/tg_support

Loading…
Cancel
Save