The add-apt-repository command is very useful under ubuntu. I want to try it after seeing the new features of fcitx recommended by others. I used to pull it directly from the backports of debina, the version is 4.0.1~ Now I directly take it from the fcitx site through ppa
Original address: http://blog.anantshri.info/howto-add-ppa-in-debian/
1. Download the script
$ wget http://blog.anantshri.info/content/uploads/2010/09/add-apt-repository.sh.txt
2. Save this file in /usr/sbin/
$ cp add-apt-repository.sh.txt /usr/sbin/add-apt-repository
3. Change permissions to execute
$ chmod o+x /usr/sbin/add-apt-repository
4. Change ownership to root
$chown root:root /usr/sbin/add-apt-repository
Now
you can execute command add-apt-repository