1、获取codelite的公钥
sudo apt-key adv –fetch-keys http://repos.codelite.org/CodeLite.asc
2、查看自己系统信息
sudo lsb_release -a
例如:
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise
3、根据上面的Codename,选择更新源
sudo apt-add-repository “deb http://repos.codelite.org/ubuntu/ precise universe”
sudo apt-get update
istro/release | Lines to append |
debian squeeze |
deb http://repos.codelite.org/debian/ squeeze contrib |
debian wheezy |
deb http://repos.codelite.org/debian/ wheezy contrib |
ubuntu lucid |
deb http://repos.codelite.org/ubuntu/ lucid universe |
ubuntu oneiric |
deb http://repos.codelite.org/ubuntu/ oneiric universe |
ubuntu precise |
deb http://repos.codelite.org/ubuntu/ precise universe |
ubuntu quantal |
deb http://repos.codelite.org/ubuntu/ quantal universe |
ubuntu raring |
deb http://repos.codelite.org/ubuntu/ raring universe |
更多Ubuntu相关信息见Ubuntu 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=2