Ubuntu:
$ sudo apt install wireguard
Debian:
# apt install wireguard
Fedora:
$ sudo dnf install wireguard-tools
Mageia:
$ sudo urpmi wireguard-tools
Arch:
$ sudo pacman -S wireguard-tools
OpenSUSE/SLE:
$ sudo zypper install wireguard-tools
Slackware:
$ sudo slackpkg install wireguard-tools
Alpine:
# apk add -U wireguard-tools
Gentoo:
# emerge wireguard-tools
Exherbo:
# cave resolve -x wireguard
NixOS:
boot.extraModulePackages = [ config.boot.kernelPackages.wireguard ];
environment.systemPackages = [ pkgs.wireguard pkgs.wireguard-tools ];
Nix on Darwin:
$ nix-env -iA nixpkgs.wireguard-tools
OpenWRT:
# opkg install wireguard
Oracle Linux 8:
# dnf install oraclelinux-developer-release-el8
# dnf config-manager --disable ol8_developer
# dnf config-manager --enable ol8_developer_UEKR6
# dnf config-manager --save --setopt=ol8_developer_UEKR6.includepkgs='wireguard-tools*'
# dnf install wireguard-tools