Wang Shanker <[email protected]> writes:

> 所以,Gentoo 的镜像都镜像了些啥?

在 gentoo-portage 目录下的部分是 ebuild, ,一组 bash 写的 build 指令,对
应于 debian/rules, rpm spec 或 PKGBUILD.

在 gentoo 目录下的部分是各 ebuild 用到的原代码包的镜像。

> 以及,Gentoo 和 Homebrew 有啥异同?

相同点:都是从原代码编译

不同点:

1. Gentoo 的 portage 可以作为系统包管理器,也可以做为用户包管理器。
   Homebrew 的 brew 只是用户包管理器。

   因此 Homebrew 的功能是 Gentoo 的子集。以下与 Gentoo 的比较,实际上都
   是针对 Gentoo Prefix.

2. Gentoo 起源于 Linux ,籍由 Gentoo Prefix 可以用作 MacOS 的用户包管理
   器. Homebrew 相反,起源于 MacOS, 后来移植到了 Linux (Linuxbrew).

   在 Linux 下 Gentoo Prefix 比 Linuxbrew 优秀。
   
   在 MacOS 下 Gentoo Prefix 与 Homebrew 各有优势:Gentoo Prefix 包多,
   Homebrew 针对 MacOS 的维护者和开发者比 Gentoo Prefix 多,可以提供更快
   的更新。

3. Portage 是 python + shell,brew 是 Ruby. 编程语言的不同反映了社区风格
   的不同.

   纯个人感觉: portage 更像是一个系统管理员,brew 更像是一个前端工程师.  

   类似地可以推及 Debian 的 APT 和 dpkg,虽然用 C 重写了,但有一股浓郁的
   perl 风,会有各种花式 hack. 而 Arch 的 pacman 用 C + shell,不可写得
   太复杂,从一开始就是极简的 minimalism 风格。

4. 其它,欢迎大家补充

Xinyu Zhou <[email protected]> writes:

> 求和arch side-by-side

记得很久以前大鹰做过 Arch 的讲座.

本达

-- 
You received this message because you are subscribed to the Google Groups "TUNA 
主邮件列表" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: PGP signature

回复