将 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 x86_64]# rpm -Uvh rp-pppoe-3.10-8.el6.x86_64.rpm
[root@flc x86_64]# rpm -q rp-pppoe
rp-pppoe-3.10-8.el6.x86_64
[root@flc x86_64]# whereis pppoe-setup
pppoe-setup: /sbin/pppoe-setup /usr/sbin/pppoe-setup /usr/share/man/man8/pppoe-setup.8.gz
[root@flc x86_64]# cd /sbin
[root@flc sbin]# ls pppoe* #显示以pppoe打头的文件
pppoe pppoe-relay pppoe-sniff pppoe-stop
pppoe-connect pppoe-server pppoe-start
pppoe-discovery pppoe-setup pppoe-status
查看rp-pppoe的安装路径:该软件相关的配置参数被写入/var/lib/rpm/ 目录下的数据库文件中,而安装文件如下,
[root@flc ~]# rpm -ql rp-pppoe
/etc/ppp/firewall-masq
/etc/ppp/firewall-standalone
/etc/ppp/pppoe-server-options
/etc/rc.d/init.d/pppoe-server
/sbin/pppoe
/sbin/pppoe-connect
/sbin/pppoe-relay
/sbin/pppoe-server
/sbin/pppoe-setup
/sbin/pppoe-sniff
/sbin/pppoe-start
/sbin/pppoe-status
/sbin/pppoe-stop
/usr/sbin/adsl-start
/usr/sbin/adsl-stop
/usr/sbin/pppoe
/usr/sbin/pppoe-connect
/usr/sbin/pppoe-relay
/usr/sbin/pppoe-server
/usr/sbin/pppoe-setup
/usr/sbin/pppoe-sniff
/usr/sbin/pppoe-start
/usr/sbin/pppoe-status
/usr/sbin/pppoe-stop
/usr/share/doc/rp-pppoe-3.10
/usr/share/doc/rp-pppoe-3.10/LICENSE
/usr/share/doc/rp-pppoe-3.10/configs
/usr/share/doc/rp-pppoe-3.10/configs/firewall-masq
/usr/share/doc/rp-pppoe-3.10/configs/firewall-standalone
/usr/share/doc/rp-pppoe-3.10/configs/pap-secrets
/usr/share/doc/rp-pppoe-3.10/configs/pppoe-server-options
/usr/share/doc/rp-pppoe-3.10/configs/pppoe.conf
/usr/share/doc/rp-pppoe-3.10/pppoe-connect
/usr/share/doc/rp-pppoe-3.10/pppoe-init
/usr/share/doc/rp-pppoe-3.10/pppoe-setup
/usr/share/doc/rp-pppoe-3.10/pppoe-start
/usr/share/doc/rp-pppoe-3.10/pppoe-status
/usr/share/doc/rp-pppoe-3.10/pppoe-stop
/usr/share/man/man5/pppoe.conf.5.gz
/usr/share/man/man8/pppoe-connect.8.gz
/usr/share/man/man8/pppoe-relay.8.gz
/usr/share/man/man8/pppoe-server.8.gz
/usr/share/man/man8/pppoe-setup.8.gz
/usr/share/man/man8/pppoe-sniff.8.gz
/usr/share/man/man8/pppoe-start.8.gz
/usr/share/man/man8/pppoe-status.8.gz
/usr/share/man/man8/pppoe-stop.8.gz
/usr/share/man/man8/pppoe.8.gz