一、安装命令
在根目录(root)下执行
sudo apt-get install build-essential
sudo apt-get install yum
二、出错处理
1、
E: Package 'yum' has no installation candidate
解决:更换镜像源,找到自己的系统版本用vim进行更换,网址:https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/
vim /etc/apt/sources.list
按
shift
+:
输入%d
删除所有内容