如何在 Ubuntu 上安装 CodeLite?

Jer*_*oen 4 software-installation

我想在我的 Ubuntu 系统上安装 CodeLite,但是当我尝试使用软件中心安装它时,它给了我一个错误

codelite: Depends: libgcc1 (>= 1:4.1.1) but 1:4.8.1-2ubuntu1~12.04 is to be installed
          Depends: libjpeg8 (>= 8c) but 8c-2ubuntu7 is to be installed
          Depends: zlib1g (>= 1:1.1.4) but 1:1.2.3.4.dfsg-3ubuntu4 is to be installed
Run Code Online (Sandbox Code Playgroud)

如果我尝试通过控制台安装这些软件包,它基本上会告诉我它们已经安装:

命令: sudo apt-get install libgcc1

Reading package lists... Done
Building dependency tree       
Reading state information... Done
libgcc1 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Run Code Online (Sandbox Code Playgroud)

bla*_*899 12

根据codelite 文档,如果您安装了旧版本的 codelite,请先将其删除,如下所示:

  • sudo apt-get purge codelite codelite-plugins

以下命令将codelite在 Ubuntu 上安装最新版本:

sudo apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc
sudo apt-add-repository "deb http://repos.codelite.org/ubuntu/ $(lsb_release -sc) universe"
sudo apt-get update
sudo apt-get install codelite wxcrafter
Run Code Online (Sandbox Code Playgroud)

codelite PPA 支持 Ubuntu 的最新稳定版本和一些 EOL 版本,请参阅:支持的发行版

注意:Trusty 目前使用 2.8v,尝试关闭时会崩溃。

截图

14.04,带有最新的codelite

codelite 8.1.0,Ubuntu Tursty tahr,14.04

14.04 codelite 6.1 Ubuntu 14.04(amd64)

12.04 codelite 5.2 Ubuntu 12.04(i386)

13.04 codelite 5.2 Ubuntu 13.04(amd64)

13.10

codelite 5.2 Ubuntu 13.10(amd64)

参考