83244351 2015-11-19
在ubuntu下 add-apt-repository 命令挺好用,今天看别人推荐fcitx的新功能就想试试。以前我是从debina的backports里面直接拉的,版本为4.0.1~现在通过ppa直接从fcitx的站点里拿了
原文地址: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