wireguard command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
wireguard: command not found
or when using sudo you get the following error message
sudo: wireguard: command not found
Solutions to wireguard: command not found
How To Fix wireguard: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu wireguard is provided by wireguard-go package.
wireguard-go is:
This is a userspace implementation of WireGuard in Go.
This package contains the program for using userspace WireGuard.
Most Linux users will want the “wireguard” package instead.
To fix this problem, we can install more using the command below.
sudo apt-get -y install wireguard-go
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install wireguard-go.
sudo apt -y install wireguard-go
Or if you have aptitude installed you can use the following command.
sudo aptitude install wireguard-go
Summary
In this tutorial we learn how to fix wireguard command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.