Linux (Ubuntu)
Debian: add-apt-repository *solution*
by admin on Nov.23, 2011, under Linux (Ubuntu)
This is how to add the command add-apt-repository on Debian installations:
Step 01: Open the terminal. Make sure you’re root.
Step 02: Change the current directory to /usr/local/sbin
(thanks Michael)
cd /usr/local/sbin
Step 03: Download the following shell script
wget http://betamaster.us/blog/wp-content/uploads/2011/11/add-apt-repository
Step 04: Make it executable
chmod o+x /usr/sbin/add-apt-repository
Step 05: Make sure root is the files owner
chown root:root /usr/sbin/add-apt-repository