rpm verify packages

To verify a package installed on system, you can use

rpm -V PKG_NAME

Example

[root@hello-1 curl-curl-7_69_0]# rpm -V bind
S.5....T.  c /etc/named.conf
[root@hello-1 curl-curl-7_69_0]# 

Here bind package have /etc/named.conf file modified.

To verify all packages on system, run

rpm -Va
Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *