歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Ubuntu 12.04下為codelite增添更新源

Ubuntu 12.04下為codelite增添更新源

日期:2017/2/28 14:47:41   编辑:Linux教程

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

Copyright © Linux教程網 All Rights Reserved