sudo gpedit /etc/apt/sources.list
注释掉以前的,添加如下:
deb http://mirrors.163.com/ubuntu/ karmic main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ karmic-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ karmic-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ karmic-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ karmic-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ karmic main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ karmic-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ karmic-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ karmic-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ karmic-backports main restricted universe multiverse
#cn99源
deb http://ubuntu.cn99.com/ubuntu/ karmic main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ karmic-backports restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ karmic-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ karmic-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ karmic-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ karmic main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ karmic-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ karmic-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ karmic-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ karmic-updates main restricted universe multiverse
保存退出,apt-get update, 至此,sources.list更新完成。
安装VIM:
sudo apt - get install vim - gtk vim - doc cscope
用VIM阅读代码,参考:
http://zhwen.org/?p=articles/cscope-tags
http://easwy.com/blog/archives/vim-cscope-ctags/
注释掉以前的,添加如下:
deb http://mirrors.163.com/ubuntu/ karmic main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ karmic-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ karmic-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ karmic-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ karmic-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ karmic main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ karmic-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ karmic-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ karmic-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ karmic-backports main restricted universe multiverse
#cn99源
deb http://ubuntu.cn99.com/ubuntu/ karmic main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ karmic-backports restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ karmic-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ karmic-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ karmic-updates main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ karmic main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ karmic-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ karmic-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ karmic-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ karmic-updates main restricted universe multiverse
保存退出,apt-get update, 至此,sources.list更新完成。
安装VIM:
sudo apt - get install vim - gtk vim - doc cscope
用VIM阅读代码,参考:
http://zhwen.org/?p=articles/cscope-tags
http://easwy.com/blog/archives/vim-cscope-ctags/
No comments:
Post a Comment