I'm using Debian stable (squeeze) and found this command
add-apt-repository but it's not found when I try use it.
I'm sure I've used a command before which added a repo but I can't remember what it was.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
You can find the command apt-add-repository in Debian as well as Ubuntu. That command, or rather executable, is as the previous poster mentioned, in the python-software-properties package.
If you want to use the command on Debian, simply install the python-software-properties package this way;
$ sudo apt-get update $ sudo apt-get install python-software-properties
Then you'll be able to call the command this way;
$ add-apt-repository [OPTIONS] REPOSITORY