addaptrepo = AddAptRepository() code example
Example 1: add-apt-repository
$ sudo apt-get install software-properties-common
Example 2: add-apt-repository
sudo apt-get install software-properties-common
$ sudo apt-get install software-properties-common
sudo apt-get install software-properties-common