Softwares ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Main /
How-to-list-file-RPMHow to List files in RPM package.[root@workstation ~]# rpm -qpl chef-11.10.4-1.el6.x86_64.rpm |less /opt/chef/bin/chef-apply /opt/chef/bin/chef-client /opt/chef/bin/chef-service-manager /opt/chef/bin/chef-shell /opt/chef/bin/chef-solo /opt/chef/bin/chef-zero /opt/chef/bin/coderay /opt/chef/bin/erubis /opt/chef/bin/htmldiff /opt/chef/bin/knife /opt/chef/bin/ldiff How to list files in already installed RPM[root@workstation ~]# rpm -ql kernel |less /boot/.vmlinuz-2.6.32-358.el6.x86_64.hmac /boot/System.map-2.6.32-358.el6.x86_64 /boot/config-2.6.32-358.el6.x86_64 /boot/initramfs-2.6.32-358.el6.x86_64.img /boot/symvers-2.6.32-358.el6.x86_64.gz /boot/vmlinuz-2.6.32-358.el6.x86_64 /etc/ld.so.conf.d/kernel-2.6.32-358.el6.x86_64.conf /lib/modules/2.6.32-358.el6.x86_64 /lib/modules/2.6.32-358.el6.x86_64/build /lib/modules/2.6.32-358.el6.x86_64/extra /lib/modules/2.6.32-358.el6.x86_64/kernel /lib/modules/2.6.32-358.el6.x86_64/kernel/arch /lib/modules/2.6.32-358.el6.x86_64/kernel/arch/x86 How to find the RPM associated with the file.[root@workstation ~]# rpm -qf /usr/bin/scp openssh-clients-5.3p1-84.1.el6.x86_64 [root@workstation ~]# |