E: package ‘gcc’ has no installation candidate
问题描述
第一次使用gcc编译c语言代码时出现command ‘gcc’ not found , but can be installed with : sudo apt install gcc
command ‘gcc’ not found , but can be installed with : sudo apt install gcc
在输入sudo apt install gcc
之后又出现E: package 'gcc' has no installation candidate
解决方案
输入sudo apt-get update
等升级完成后在尝试sudo apt-get install gcc
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)