在Debian系统中安装旧版本GCC遇阻,寻求有效解决方案
无法安装GCC 4.5的问题
我在Stack Overflow及其他资源上查找了大量参考资料,但始终未能找到适用的解决方案。以下是我尝试过的部分解决方法:
尝试直接安装GCC 4.5
执行命令:
sudo apt update sudo apt-get install gcc-4.5 sudo apt install gcc-4.5
报错信息:
E: Package 'gcc-4.5' has no installation candidate
尝试添加Ubuntu Xenial源
添加的源内容:
deb http://dk.archive.ubuntu.com/ubuntu/ xenial main
报错信息:
E: The repository 'http://dk.archive.ubuntu.com/ubuntu xenial InRelease' is not signed.
尝试添加PPA源
执行命令:
sudo apt install software-properties-common sudo add-apt-repository ppa:ubuntu-toolchain-r/test
报错信息:
E: The repository 'http://ppa.launchpad.net/jonathonf/gcc/ubuntu kinetic Release' does not have a Release file.
我已为该问题困扰多日,恳请您的帮助。
内容的提问来源于stack exchange,提问作者JungHwanPark
相关产品推荐
相关产品推荐

