安装开发套件
yum groupinstall 'Development Tools'
安装未知工具
以 aclocal 为例,直接 yum install aclocal
会发现找不到,无法安装。此时可以通过 yum whatprovides aclocal
来查找包含 aclocal 的源然后安装
$ yum whatprovides aclocalyum whatprovides aclocal
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.tuna.tsinghua.edu.cn
* extras: mirror.bit.edu.cn
* updates: mirrors.nwsuaf.edu.cn
automake-1.13.4-3.el7.noarch : A GNU tool for automatically creating Makefiles
源 :base
匹配来源:
文件名 :/usr/bin/aclocal
$ yum install automake-1.13.4-3.el7.noarch // 此时即可安装 aclocal