1、yum install
[root@localhost yum.repos.d]# yum install -y yum-utils device-mapper-persistent-data lvm2
2、rpm -qa查询安装
[root@localhost yum.repos.d]# rpm -qa|grep device-mapper-persistent-data
device-mapper-persistent-data-0.8.5-2.el7.x86_64
3、 rpm -ql 具体的名称(第二步的结果做条件),路径如斯。
[root@localhost yum.repos.d]# rpm -ql device-mapper-persistent-data-0.8.5-2.el7.x86_64
/usr/sbin/cache_check
/usr/sbin/cache_dump
/usr/sbin/cache_metadata_size
/usr/sbin/cache_repair
/usr/sbin/cache_restore
/usr/sbin/cache_writeback
/usr/sbin/era_check
/usr/sbin/era_dump
/usr/sbin/era_invalidate
/usr/sbin/era_restore
/usr/sbin/pdata_tools
/usr/sbin/thin_check
/usr/sbin/thin_delta
/usr/sbin/thin_dump
/usr/sbin/thin_ls
/usr/sbin/thin_metadata_size
/usr/sbin/thin_repair
/usr/sbin/thin_restore
/usr/sbin/thin_rmap
/usr/sbin/thin_trim
/usr/share/doc/device-mapper-persistent-data-0.8.5
/usr/share/doc/device-mapper-persistent-data-0.8.5/COPYING
/usr/share/doc/device-mapper-persistent-data-0.8.5/README.md
/usr/share/man/man8/cache_check.8.gz
/usr/share/man/man8/cache_dump.8.gz
/usr/share/man/man8/cache_metadata_size.8.gz
/usr/share/man/man8/cache_repair.8.gz
/usr/share/man/man8/cache_restore.8.gz
/usr/share/man/man8/cache_writeback.8.gz
/usr/share/man/man8/era_check.8.gz
/usr/share/man/man8/era_dump.8.gz
/usr/share/man/man8/era_invalidate.8.gz
/usr/share/man/man8/era_restore.8.gz
/usr/share/man/man8/thin_check.8.gz
/usr/share/man/man8/thin_delta.8.gz
/usr/share/man/man8/thin_dump.8.gz
/usr/share/man/man8/thin_ls.8.gz
/usr/share/man/man8/thin_metadata_size.8.gz
/usr/share/man/man8/thin_repair.8.gz
/usr/share/man/man8/thin_restore.8.gz
/usr/share/man/man8/thin_rmap.8.gz
/usr/share/man/man8/thin_trim.8.gz