Yggdrasil is hosted in the Gentoo GURU repository as the net-p2p/yggdrasil-go package.
The GURU repository has to be enabled using eselect repository
.
sudo eselect repository enable guru
And then synchronized with emerge
:
sudo emerge --sync
Now, the net-p2p/yggdrasil-go
package is masked and marked as unstable using
the ~amd64
keyword. So we have to unmask it by accepting the keyword, there
are two alternatives.
/etc/portage/package.accept_keywords
is a directory:echo "net-p2p/yggdrasil-go ~amd64" | sudo tee /etc/portage/package.accept_keywords/yggdrasil-go
/etc/portage/package.accept_keywords
is a file:echo "net-p2p/yggdrasil-go ~amd64" | sudo tee -a /etc/portage/package.accept_keywords
Now net-p2p/yggdrasil-go
can be merged and installed with:
sudo emerge --ask net-p2p/yggdrasil-go
And you’re good to go!
Modify the /etc/yggdrasil.conf
file and then either reload the config:
rc-service yggdrasil reload
systemctl reload yggdrasil
… or restart the Yggdrasil daemon altogether:
rc-service yggdrasil restart
systemctl restart yggdrasil
Read the Linux platform page page for further information about Linux platform support.