Skip to content

Gentoo / Calculate Community maintained ​

The Dae Universe repository provides no Gentoo packages. Gentoo and Calculate users install from the gentoo-zh overlay.

The Gentoo community maintains these packages in Portage. Their versions are independent of those in the package list.

User and architecture

The keyword example applies to amd64 systems.

Use the sudo tab if sudo is configured for your account; use the root tab when already in a root shell.

1. Add and synchronize the 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

Already configured

If gentoo-zh is already configured, run only the synchronization command. Mirror selection and manual configuration are covered in the gentoo-zh overlay guide.

2. Accept the testing keyword ​

These overlay packages carry only testing keywords. Before installing, add an entry for the selected software to package.accept_keywords.

If /etc/portage/package.accept_keywords is a directory, use a separate file inside it. If it is a file, add the entry there.

text
net-proxy/v2rayA::gentoo-zh ~amd64
text
net-proxy/v2ray::gentoo-zh ~amd64
text
net-proxy/Xray::gentoo-zh ~amd64
text
net-proxy/juicity::gentoo-zh ~amd64
text
dev-libs/v2ray-rules-dat-bin::gentoo-zh ~amd64

Systems already using ~amd64 globally can skip this step. For other architectures, check the selected ebuild's KEYWORDS before choosing a keyword.

3. Select the software ​

sh
sudo emerge --ask net-proxy/v2rayA::gentoo-zh
sh
sudo emerge --ask net-proxy/v2ray::gentoo-zh
sh
sudo emerge --ask net-proxy/Xray::gentoo-zh
sh
sudo emerge --ask net-proxy/juicity::gentoo-zh
sh
sudo emerge --ask dev-libs/v2ray-rules-dat-bin::gentoo-zh

Drop sudo from the command when already in a root shell.

Package differences ​

PackageNotes
net-proxy/juicityBuilds only the server by default; enable the client USE flag if you need a client
dev-libs/v2ray-rules-dat-binInstalls prebuilt rule data; geosite and geoip are enabled by default
Juicity-rsNo ebuild in the overlay

For dae and daed, see dae and daed.

Optional: mirrors and binary packages ​

Mirrors and binary packages

Follow the gentoo-zh overlay guide for Distfiles mirrors, binhost channels and signature verification. Check the binary package list for availability; Portage can build from source when no suitable binary package exists.