sudo apt-get install add-apt-key code example
Example 1: add-apt-repository command not found
sudo apt-get install software-properties-common
Example 2: bash: apt-add-repository: command not found
apt-get install software-properties-common
sudo apt-get install software-properties-common
apt-get install software-properties-common