将 rp-pppoe 软件下载到 /root 底下:
[root@flc sbin]# cd ~
[root@flc ~]# ls
anaconda-ks.cfg upgrade.log install.log rpmbuild upgrade.log.syslog install.log.syslog RPM-GPG-KEY.dag.txt
rp-pppoe-3.10-8.el6.src.rpm
查看相依性
[root@flc ~]# rpm -qpR rp-pppoe-3.10-8.el6.src.rpm
libtool
autoconf
automake
coreutils
ppp
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
[root@flc ~]# rpm -q ppp
ppp-2.4.5-5.el6.x86_64
[root@flc ~]# ll /root/rpmbuild/RPMS/x86_64/
总用量 240
-rw-r--r