How to fix sudo: add-apt-repository: command not found

Today I had an error on one of my machines that I have not see for a wile.

The sudo: add-apt-repository: command not found

There is a quick fix for this, so if you have this error and wanted to fix it here is the solution:

  1. First, update you system:
sudo apt update
sudo apt upgrade -y

2. Next install software-properties-common

sudo apt install software-properties-common -y

That's it! It's that simple :)

Enjoy!