rust依赖c语言工具链,使用官网的方式在ubuntu20.04中安装时,虽然安装成功,但运行时报错:
linker `cc` not found
如果使用 sudo apt install rustc,会遇到依赖深渊也是安装失败。
解决方案:
使用aptitude安装rustc
sudo apt install aptitude sudo aptitude install rustc // 这里有等待输入,先输入n,再输入Y
rust依赖c语言工具链,使用官网的方式在ubuntu20.04中安装时,虽然安装成功,但运行时报错:
linker `cc` not found
如果使用 sudo apt install rustc,会遇到依赖深渊也是安装失败。
解决方案:
使用aptitude安装rustc
sudo apt install aptitude sudo aptitude install rustc // 这里有等待输入,先输入n,再输入Y
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。