荔园在线

荔园之美,在春之萌芽,在夏之绽放,在秋之收获,在冬之沉淀

[回到开始] [上一篇][下一篇]


发信人: xiaoq.bbs@bbs.cqupt.edu.cn (唉,我该干点什么呢?), 信区: Linux
标  题: 如何从 rpm 中提取文件
发信站: 幽幽黄桷兰 (Thu May 15 18:43:07 2003)
转信站: SZU!news.tiaozhan.com!news.happynet.org!CQUPT

 小技巧,教你如何从 rpm 中提取文件,三个最简单方法.

http://www.opq.se/sxs/housekeeping/rpmextract.html


According to Peck Dickens:

1) The easiest way is to use Midnight Commander to navagate into the RPM and
then copy the file out that you are interested in.

2) Another method is to do it at the command line using the following commands:
cd /tmp
md rpmtmp
cd rpmtmp
rpm2cpio {FullNameOfRPM} | cpio -iumd {FullNameOfFileToExtract}
Be sure to clean up after you.

According to Pam Roberts:

3) You can use rpm-get, which is in rpm-utils-1.5-1.noarch.rpm from your
friendly local rpmfind.net and installs without any problems.
--
※ 来源:·幽幽黄桷兰 bbs.cqupt.edu.cn·[FROM: xiaoq.com]


[回到开始] [上一篇][下一篇]

荔园在线首页 友情链接:深圳大学 深大招生 荔园晨风BBS S-Term软件 网络书店