Linux rpmdiff命令:比较两个软件包之间的不同。
Linux rpmdiff命令 功能描述
使用rpmdiff命令可以比较两个软件包之间的不同。
Linux rpmdiff命令 语法
rpmdiff [选项] [旧软件包] [新软件包]
命令中各选项的含义如表所示。
Linux rpmdiff命令 示例
比较软件包atk-1.28.0-2.el6.i686.rpm和atk-1.28.0-2.el6.x86_64.rpm之间的不同
[root@rhel ~]# rpmdiff atk-1.28.0-2.el6.i686.rpm atk-1.28.0-2.el6.x86_64.rpm
removed REQUIRES libatk-1.0.so.0
removed REQUIRES libc.so.6
removed REQUIRES libc.so.6(GLIBC_2.0)
removed REQUIRES libc.so.6(GLIBC_2.1.3)
removed REQUIRES libc.so.6(GLIBC_2.2)
removed REQUIRES libglib-2.0.so.0
removed REQUIRES libgobject-2.0.so.0
added REQUIRES libatk-1.0.so.0()(64bit)
added REQUIRES libc.so.6()(64bit)
added REQUIRES libc.so.6(GLIBC_2.2.5)(64bit)
added REQUIRES libglib-2.0.so.0()(64bit)
added REQUIRES libgobject-2.0.so.0()(64bit)
........................(省略)