Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1014289
  • 博文数量: 327
  • 博客积分: 9995
  • 博客等级: 中将
  • 技术积分: 4319
  • 用 户 组: 普通用户
  • 注册时间: 2009-05-25 11:21
文章存档

2011年(31)

2010年(139)

2009年(157)

我的朋友

分类: LINUX

2010-11-01 20:57:22

[root@localhost tools]# rpm -qlp libstdc++-4.3.2-7.i386.rpm
warning: libstdc++-4.3.2-7.i386.rpm: Header V3 DSA signature: NOKEY, key ID 4ebfc273
/usr/lib/libstdc++.so.6
/usr/lib/libstdc++.so.6.0.10
[root@localhost tools]# 

RPM is a popular software packaging format. Originally named as Red Hat Package Manager as it was developed by Red Hat for their linux distribution. Since then it has been ported to more that 20 operating systems. If you have an RPM file, the only way to get its contents out is to use the rpm utility. This recipe describes how to list the files contained in an RPM. To be honest, I don’t do this often enough to remember the simple command and always have to go through the really big man page to figure it out again.


To list the contents of the RPM techrx.rpm use this command:

rpm -qlp techrx.rpm


阅读(877) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~