http://www.linuxidc.com/Linux/2013-06/85332.htm

Ubuntu 12.04下为codelite增添更新源

1、获取codelite的公钥

sudo apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc

2、查看自己系统信息(如何知道所linux使用的是哪个发行版)

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

我的相关命令:

sudo apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /tmp/tmp.7UjjuEvlkT --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --fetch-keys http://repos.codelite.org/CodeLite.asc
gpg: key 1AC82609: public key "David Hart (codelite key) <david@codelite.co.uk>" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
yingc@yingc:~/work/public/solution$ sudo lsb_release -a
No LSB modules are available.
Distributor ID:    Ubuntu
Description:    Ubuntu 12.04 LTS
Release:    12.04
Codename:    precise
yingc@yingc:~/work/public/solution$ sudo apt-add-repository "deb http://repos.codelite.org/ubuntu/ precise universe"
yingc@yingc:~/work/public/solution$ sudo apt-get install codelite

无法下载 http://security.ubuntu.com/ubuntu/pool/main/q/qt4-x11/qt4-qmake_4.8.1-0ubuntu4.4_i386.deb  404  Not Found [IP: 91.189.91.14 80]
E: 有几个软件包无法下载,您可以运行 apt-get update 或者加上 --fix-missing 的选项再试试?
yingc@yingc:~/work/public/solution$ sudo apt-get install codelite --fix-missing

  • You then need update your repositories. In synaptic, click the Reload button. If you're doing things by hand, do:
 sudo apt-get update
  • You should now be able to install CodeLite in the normal way through synaptic, or by doing:
 sudo apt-get install codelite wxcrafter

http://codelite.org/LiteEditor/Repositories#toc1

Codelite解决中文乱码

Setting - Editor - Misc - File font encoding,选择Windows 936编码

codelite编译显示中文字符为乱码

启用C99,并在控制台显示中文: Settings, Build Settings, gnc gcc, Switchs,在Source选项后面增加" -std=c99 -fexec-charset=GBK ",添加后,Source switch看起来是这样:-c -std=c99 -fexec-charset=GBK

codelite自动提示:Setting-Tags Option-general-triggering-automatic word completion

ubuntu 安装 codelite相关推荐

  1. Ubuntu中录屏软件、文档编写、Ubuntu中Codelite下载方法以及古月老师的编写的Ubuntu助手地址

    1.OBS:很好用的录屏软件 终端中添加PPA: sudo add-apt-repository ppa:obsproject/obs-studio 输入这条命令进行安装: sudo apt inst ...

  2. Ubuntu安装MongoDB

    https://jingyan.baidu.com/article/e5c39bf5f5ddd539d76033a9.html Ubuntu安装MongoDB4.0: https://www.jian ...

  3. ubuntu安装OpenCV详细教程(建议收藏)

    记录一篇"如何安装ubuntu下C++接口的opencv"的文章.由于转载格式有问题,直接贴个链接:ubuntu安装opencv的正确方法 注意:本人根据此博客安装遇到的问题:2. ...

  4. Linux/ubuntu 安装 redis 4.0报错解决:redis-server.service: Can't open PID file /var/run/redis/redis-server.

    此文首发于我的个人博客:Linux/ubuntu 安装 redis 4.0报错解决:redis-server.service: Can't open PID file /var/run/redis/r ...

  5. debian,ubuntu 安装mongodb 允许外网访问,修改端口,设置用户和密码

    使用apt安装mongodb: apt update && apt install mongodb 查看运行状态: systemctl status mongodb.service 结 ...

  6. ubuntu安装KVM

    ubuntu安装KVM 现在官网下载ubuntu镜像,桌面版或者服务端都可,这里以桌面端为例. 安装之前确保磁盘有足够大的空间(这很重要) 安装KVM sudo apt install qemu-kv ...

  7. 解决Ubuntu安装依赖问题

    解决Ubuntu安装依赖问题 解决Ubuntu安装依赖问题 最主要问题,修改的国内镜像源可能不是对应的ubuntu版本,大部人直接找了个镜像源就复制到source.list里面了,其实需要对应版本的, ...

  8. Ubuntu安装Ceres库-安装依赖时报错:E:无法定位软件包 libcxsparse3.1.2_朱国鑫的博客-CSDN博客

    Ubuntu安装Ceres库-安装依赖时报错:E:无法定位软件包 libcxsparse3.1.2_朱国鑫的博客-CSDN博客

  9. ubuntu 安装Pangolin 过程_余辉亮的学习笔记的博客-CSDN博客_pangolin安装

    ubuntu 安装Pangolin 过程_余辉亮的学习笔记的博客-CSDN博客_pangolin安装

最新文章

  1. IMXRT10xx MDK 编译器AC5 升级AC6
  2. 太阳的光和灯光有什么区别_墙体彩绘机UV(油性)和水性墨水怎么选择?有什么区别?...
  3. xyz后缀的网站_.XYZ五岁了
  4. [大数据]-Fscrawler导入文件(txt,html,pdf,worf...)到Elasticsearch5.3.1并配置同义词过滤...
  5. 荷兰牛栏 荷兰售价_荷兰的公路货运是如何发展的
  6. python如何删除对象属性_如何优雅的删除对象中的指定属性?
  7. IOS开发基础知识--碎片23
  8. 国内域名商.wang总量统计TOP10:新网居亚 地位不稳
  9. js生成随机不重复数字的几种方法
  10. 从汇编的眼光看C++(之delete内存泄露)
  11. 但是的近义词是什么,怎么用但是造句?
  12. mac双击文件打不开——设置鼠标连按速度
  13. linux比较两个文件的不同
  14. Direct3d纹理
  15. 如何修复vagrant up失败错VBoxManage: error: The machine is already locked for a session (or being unlocked)
  16. SHR之员工合同解除
  17. TensorFlow: A System for Large-Scale Machine Learning翻译
  18. [LeetCode 中等 树]545. 二叉树的边界
  19. java异常说法正确的是什么意思_以下关于Java异常说法不正确的是( )。
  20. ClassList属性

热门文章

  1. 内网***测试定位技术总结
  2. 索尼同意支付数百万美元和解 PS3,Linux 集体诉讼
  3. 用百度siteapp的uaredirect.js判断用户访问端而进行域名的自动跳转
  4. 进阶篇第十一期:高德地图的使用
  5. ×××S 2012 参照函数 -- 介绍
  6. Cheat—— 给Linux初学者和管理员一个终极命令行备忘单
  7. 从零开始学建站-主机篇
  8. 成都地震了[原创]不断更新
  9. debian 9系统安装配置iptables
  10. shared_ptr 的使用及注意事项