E Package Gcc 4 9 Has No Installation Candidate

[Solved] E Package Gcc 4 9 Has No Installation Candidate | Shell - Code Explorer | yomemimo.com
Question : E: Package 'gcc-4.9' has no installation candidate

Answered by : annoyed-alligator-0d32t8j22g91

sudo -i
apt update; aptitude full-upgrade
cd /etc/apt
sed 's/bionic/xential/g' < sources.list > sources.list-xential
mv -v sources.list{,-bionic}
ln -sv sources.list-xential sources.list
apt update
aptitude -y install gcc-4.9 g++-4.9
ln -svf sources.list-bionic sources.list
apt update

Source : https://stackoverflow.com/questions/48398475/fail-to-install-gcc-4-9-in-ubuntu17-04 | Last Update : Wed, 25 May 22

Answers related to e package gcc 4 9 has no installation candidate

Code Explorer Popular Question For Shell