300字范文,内容丰富有趣,生活中的好帮手!
300字范文 > E: package ‘gcc‘ has no installation candidate

E: package ‘gcc‘ has no installation candidate

时间:2022-11-17 10:00:52

相关推荐

E: package ‘gcc‘ has no installation candidate

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

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。