I would like to install CodeLite on my Ubuntu system, but when I try to install it using the Software Center, it gives me an error:

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: is to be installed

If I try to install these packages trough the console it basically tells me they are already installed:

Command: 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.

Per the codelite documentation, if you have an older version of codelite installed, remove it first, like so:

  • sudo apt-get purge codelite codelite-plugins

The following commands will install the latest codelite on 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

The codelite PPA supports the latest stable versions of Ubuntu, and a few EOL releases, see: Supported Distributions.

Note: Trusty currently sports the 2.8v, which crashes when trying to close it.


14.04, with latest 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)


codelite 5.2 Ubuntu 13.10(amd64)


| improve this answer | |
  • This didn't work for me until I followed the advice in the chat of this question to see the suggestion to first remove any key/added repository of codelite from the software center and only then follow the steps in this answer – Arthur.V Sep 2 '16 at 18:18
  • I run the code sudo apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.ascbut get the error gpg: WARNING: unable to fetch URI http://repos.codelite.org/CodeLite.asc: Server indicated a failure – Sepideh Abadpour Jun 11 '19 at 20:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.