Update 'INSTALL.md'

This commit is contained in:
Duke Leto
2021-02-23 16:50:26 +00:00
parent b51546a8ec
commit 61c162f5f5

View File

@@ -44,10 +44,10 @@ cd hush3
## 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:
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:
```
sudo add-apt-repository ppa:ubuntu-toolchain-r/test && \
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 && \