Update 'INSTALL.md'
This commit is contained in:
@@ -44,10 +44,10 @@ cd hush3
|
|||||||
|
|
||||||
## Building On Ubuntu 16.04 and older systems
|
## 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 update && \
|
||||||
apt-get install -y gcc-7 g++-7 && \
|
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/g++ g++ /usr/bin/g++-7 60 && \
|
||||||
|
|||||||
Reference in New Issue
Block a user