Skip to content

Gentoo / Calculate Community maintained

The repository provides no Gentoo packages. Gentoo and Calculate users install from the gentoo-zh overlay, where the packages are maintained by the Gentoo community and managed by Portage. Those versions are independent of the repository versions 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 testing keywords only, so add an entry for the selected software to package.accept_keywords before installing. 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.

4. Package differences

  • net-proxy/juicity builds the server only by default; enable the client USE flag when a client is needed.
  • dev-libs/v2ray-rules-dat-bin installs prebuilt rule data files; the geosite and geoip USE flags are enabled by default.
  • The overlay carries no Juicity-rs ebuild.
  • 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.