How to install CodeLite on Ubuntu?

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:1.2.3.4.dfsg-3ubuntu4 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.

Screenshots

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)

13.10

codelite 5.2 Ubuntu 13.10(amd64)

Reference:

  • Howto install the latest codelite in Ubuntu - EuroBytes

  • CodeLite, an open source, cross platform C/C++ IDE | LiteEditor / Repositories