如何查看rpm安装的软件路径
1、查找安装包名称
$> sudo rpm -qa|grep docker
docker-ce-19.03.8-3.el7.x86_64
2、查找安装包的安装路径
$> sudo rpm -ql docker-ce-19.03.8-3.el7.x86_64
/usr/bin/docker-init
/usr/bin/docker-proxy
/usr/bin/dockerd
/usr/lib/systemd/system/docker.service
/usr/lib/systemd/system/docker.socket
/var/lib/docker-engine/distribution_based_engine.json