Installed Package Checksum
Rpm-v Installed package Name
-V verifies the files in the specified RPM package
Rpm-v PTH
No hints, no changes have been made since the installation
File extraction in RPM package
For example, to a system configuration file error operation, you can find the file it belongs to the RPM package, and then extract the file from the RPM package and overwrite the wrong operation file
Rpm2cpio Package Full Name | Cpio-idv. rpm Package File Absolute path
-I copy-in mode, restore
-D automatically create a new directory when restoring
-V shows the restore process
Rpm2cpio
Convert RPM packages to cpio format files
Cpio
is a standard tool for creating software archive files and extracting files from archive files
Mv/usr/bin/ls/tmp
Rpm-qf/usr/bin/ls
Coreutils-8.22-21.el7.x86_64
RPM-QPL anaconda-11.4.1.62-1.src.rpm
/usr/bin/ls
rpm2cpio/mnt/cd/packages/coreutils-8.22-21.el7.x86_64.rpm | Cpio-idv./usr/bin/ls
Extracted to the current directory
MV Ls/usr/bin
Linux installed package checksum, RPM package file extraction