add apt repository code example

Example 1: apt-add-repository command not found

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

Example 2: add-apt-repository

$ sudo apt-get install software-properties-common

Example 3: 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 4: add-apt-repository

sudo apt-get install software-properties-common

Example 5: how to install add-apt-repository

sudo apt-add-repository ‘deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main’