[root@localhost]# cd /etc/yum.repos.d/
[root@localhost]# vim dag.repo
[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=1
gpgkey=http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
enabled=1
安装相关依赖
[root@localhost]#yum install ntp vim-enhanced gcc gcc-c++ gcc-g77 flex bison autoconf automake bzip2-devel ncurses-devel zlib-devel libjpeg-devel libpng-devel libtiff-devel freetype-devel libXpm-devel gettext-develpam-devel
[root@localhost]# yum install -y rrdtool perl-rrdtool rrdtool-devel
这可安装完成!
原文链接:https://www.f2er.com/centos/382143.html