From fea60d8bee0b044f7235fac86fc5af604d9f6698 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Tue, 23 Feb 2021 16:17:56 +0000 Subject: [PATCH 1/2] Update 'INSTALL.md' --- INSTALL.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/INSTALL.md b/INSTALL.md index 0c4095e5c..809316604 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -42,6 +42,18 @@ cd hush3 ./build.sh -j$(nproc) ``` +## 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: + +``` +sudo add-apt-repository ppa:ubuntu-toolchain-r/test && \ +apt update && \ +apt-get install -y gcc-7 g++-7 && \ + update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 60 && \ + update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 +``` + ## Run a HUSH Node ```sh From 36c655a07396b2f3769385405e81954fc1dcd434 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Tue, 23 Feb 2021 16:20:19 +0000 Subject: [PATCH 2/2] Update 'INSTALL.md' --- INSTALL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index 809316604..7c7e5844f 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -4,7 +4,7 @@ To install a Debian package: - dpkg -i hush-3.5.0-amd4.deb + dpkg -i hush-3.6.2-amd4.deb To uninstall: