Search code examples
linuxdiffrpm

diff two rpms? -- linux


Some unknown changes were made to my baseline (java/ C++) and installed in a new rpm. I would like a way to compare the content of this rpm with an old one to see the changes made. Is this possible?

If there is no easy way to do this, is there a way to get a content list of rpm file names within it organized by date?


Solution

  • Try pkgdiff to visualize differences between RPM packages:

    pkgdiff PKG-0.rpm PKG-1.rpm
    

    If you compare SRC.RPM then the tool will extract and compare the internal tarball too (unless the -skip-subarchives option is defined).

    enter image description here

    enter image description here