apt-add-repository command not found code example

Example 1: add-apt-repository command not found

// Ubuntu
sudo apt-get install software-properties-common

Example 2: apt-add-repository command not found

sudo apt-get install software-properties-common
sudo apt-get update

Example 3: add-apt-repository command not found

sudo apt-get install software-properties-common

Example 4: Fix ‘add-apt-repository command not found’ Error on Ubuntu and Debian

//Debian GNU/Linux and chromebook linux
sudo apt install software-properties-common

Example 5: bash: apt-add-repository: command not found

apt-get install software-properties-common

Tags:

C Example