在vagrant box中安装了基本的centos7的box,但是,该环境没有安装编译软件,所以要求自行安装. 1.查看群组安装的源包数量: yum group list ,搜索Development关键字: yum gropu list | grep Development ,得到: [vagrant@localhost ~]$ yum group list | grep Development There is no installed groups file. Maybe run: yum