跳转到正文

Gentoo / Calculate 社区维护

Gentoo 用户可通过 gentoo-zh overlay 安装 net-proxy/dae。该软件包由 Gentoo 社区维护,使用 Portage 管理。本网站的 APT/RPM 版本表对应另一个软件源。

执行身份与架构

测试关键字示例适用于 amd64 系统。

已配置 sudo 的普通用户选择 sudo 标签;已进入 root shell 时选择 root 标签。

1. 添加并同步 overlay

sh
sudo emerge --ask app-eselect/eselect-repository dev-vcs/git
sudo eselect repository add gentoo-zh git https://github.com/gentoo-zh/overlay.git
sudo emaint sync -r gentoo-zh
sh
emerge --ask app-eselect/eselect-repository dev-vcs/git
eselect repository add gentoo-zh git https://github.com/gentoo-zh/overlay.git
emaint sync -r gentoo-zh

已配置 overlay

如果已经配置 gentoo-zh,只需执行同步命令。镜像选择和手动配置方法见 gentoo-zh overlay 文档

2. 接受测试关键字

使用稳定关键字的 amd64 系统需要在 package.accept_keywords 中添加以下配置。如果 /etc/portage/package.accept_keywords 是目录,可写入其中的 /etc/portage/package.accept_keywords/dae 文件;如果它是文件,则直接在该文件中添加。

text
net-proxy/dae::gentoo-zh ~amd64

已全局接受 ~amd64 的系统可跳过此步骤。其他架构需先检查所选 ebuild 的 KEYWORDS,再选择对应的关键字。

3. 安装 dae

sh
sudo emerge --ask net-proxy/dae::gentoo-zh
sh
emerge --ask net-proxy/dae::gentoo-zh

检查 Portage 给出的内核配置提示。配置示例位于 /usr/share/dae/config.dae.example。启动前,请参考最小配置,完成 /etc/dae/config.dae 的配置。

可选:镜像与二进制包

镜像与二进制包

Distfiles 镜像、binhost 频道和签名验证的配置方法见 gentoo-zh overlay 文档。可用的二进制包以软件包列表为准;没有合适的二进制包时,Portage 可以从源代码编译。

完成最小配置后,请参阅服务管理,启动 dae、设置开机启动、重载或重新启动服务。


来源:dae 上游文档 · AGPL-3.0 许可证