How to install gcc-7 Debian

From HyperSecurity Wiki
Jump to: navigation, search
echo "# Backports for sid (unstable)" >> /etc/apt/sources.list
echo "deb http://ftp.de.debian.org/debian sid main" >> /etc/apt/sources.list
apt-get -t sid install gcc-7
apt-get -t sid install g++-7

If there are problems with installing, check /etc/apt/preferences