[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 请问如何在RedHat6.2下安装dpkg?



: > 如果要解开 deb binary package:
: >
: >         ar x filename.deb
: >
: > 不过我建议与其解开 deb binary 来用,还不如去 down load Debian 的
: > source 回来 build, 因为 binary 可能会 depend on 其他的 package,
: > lib, .... etc, 而那些 package, lib 等的安排方式,不见得在其他的
: > GNU/Linux distribution 都会和 Debian 一样。
: 
: 我主要也是想解开source包,好象Debian的source packs也是deb,用ar命令是否可以解开?
: 具体选项是什么?

No, Debian 的 source 没有所谓的 source pack, 只有三个档:

	package_<version>.orig.tar.gz
	package_<version>-<deb-ver>.dsc
	package_<version>-<deb-ver>.diff.gz

理论上,您只需要第一个就够了,了不起再加入第三个 Debian 的 patch。
只有 binary 的套件才是用 ar 压起来的格式。

T.H.Hsieh

-- 
| This message was re-posted from debian-chinese-big5@lists.debian.org
| and converted from big5 to gb2312 by an automatic gateway.



Reply to: