你好,游客 登录 注册 搜索
背景:
阅读新闻

Ubuntu 12.04下为codelite增添更新源

[日期:2013-06-03] 来源:Linux社区  作者:liaocs2008 [字体:大 中 小]

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

linux
相关资讯       Ubuntu 12.04更新源 
本文评论   查看全部评论 (1)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款
第 1 楼
* summer会员 发表于 2014/4/15 17:45:24
E: 安装源配置文件“/etc/apt/sources.list”第 56 行有错误(发行版解析)
E: 无法读取源列表。


为什么呢?