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
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-zhemerge --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-zhAlready 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.
net-proxy/v2rayA::gentoo-zh ~amd64net-proxy/v2ray::gentoo-zh ~amd64net-proxy/Xray::gentoo-zh ~amd64net-proxy/juicity::gentoo-zh ~amd64dev-libs/v2ray-rules-dat-bin::gentoo-zh ~amd64Systems 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
sudo emerge --ask net-proxy/v2rayA::gentoo-zhsudo emerge --ask net-proxy/v2ray::gentoo-zhsudo emerge --ask net-proxy/Xray::gentoo-zhsudo emerge --ask net-proxy/juicity::gentoo-zhsudo emerge --ask dev-libs/v2ray-rules-dat-bin::gentoo-zhDrop sudo from the command when already in a root shell.
4. Package differences
net-proxy/juicitybuilds the server only by default; enable theclientUSE flag when a client is needed.dev-libs/v2ray-rules-dat-bininstalls prebuilt rule data files; thegeositeandgeoipUSE 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.
