Run the following in the terminal:
Install the gcc-7 packages:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt install g++-7 -y
Set it up so the symbolic links gcc
, g++
point to the newer version:
Run the following in the terminal:
Install the gcc-7 packages:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt install g++-7 -y
Set it up so the symbolic links gcc
, g++
point to the newer version:
#!/bin/sh | |
set -e | |
if [ `whoami` != "root" ]; then | |
echo "This script must run as root!" | |
exit 1 | |
fi | |
if [ ! -f /root/stage3-*.tar.bz2 ]; then |