This question already has an answer here:

I'm new to Ubuntu and I tried to install something and the guide I was reading says to run a command that starts with

sudo add-apt-repository

but whenever I try to use the command then it says

bash: add-apt-repository: command not found

whether I start it with sudo or not, and I can't seem to find any help anywhere else.

marked as duplicate by Kulfy, karel, pomsky, dessert command-line Jan 10 at 21:44

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.