Getting this error "bash: apt-add-repository: command not found" ?
You need to install the software-properties-common to solve the error:
sudo apt-get install software-properties-common