Install add-apt-repository on Debian/Ubuntu

Sometimes we may need to use add-apt-repository like the following:

$ add-apt-repository ppa:wireguard/wireguard

But on Debian or Ubuntu, this command does not exist, to solve this,

$ sudo apt-get install software-properties-common

References

  1. https://itsfoss.com/add-apt-repository-command-not-found/