General: Precompiled binaries for Mac / Windows / Linux


codelite offers a several installers for the various OSs. Download the proper installer from here
Make sure to pick the latest version available! (currently the latest version is codelite-3.0)

Windows


Note that for Windows, there are 3 flavors that can be downloaded from here:

  • An installer which only includes codelite IDE only
  • An installer which includes codelite IDE + MinGW suite (GNU toolchain + WinAPI)
  • An installer which includes codelite IDE + MinGW suite + wxWidgets SDK

Linux


To install the .deb package, just type the following:

 sudo dpkg -i <deb file name>

If you get missing dependency errors (e.g. libwxgtk2.8-0 or libgtk), try:

 sudo apt-get -f install

The above command will attempt to install the missing dependencies (if they are available in the repositories) and will complete the codelite installation.

The rpms can be installed as usual, with:

 #> rpm -Uvh ./codelite-*.rpm

There is also an apt repository with latest CodeLite version available for ubuntu karmic, lucid, maverick and natty, and debian squeeze. See the Repository page for details.

To use CodeLite to build programs, you'll need to have the necessary tools installed (e.g. 'make', 'g++'). To build wxWidgets programs, you'll also need a full wxGTK installation, not just the libraries. See the next section for how to do this.

wxWidgets (optional)

CodeLite uses the wxWidgets toolkit, so you must install this. Almost all distros have a package (the name usually starts with wxgtk or libwxgtk). If you wish to build CodeLite from source, or to develop wxWidgets apps, you will also need the development package (wxgtk-dev or libwxgtk-devel or similar). The wx version must be at least 2.8.8; unless you're feeling adventurous, stick to the stable wx releases, though codelite does currently work on wx2.9.2 and on the wx svn trunk (that will become wx2.9.3). There are also the latest debian and ubuntu packages available via http://www.wxwidgets.org/downloads/, as well as wxWidgets tarballs.

e.g. To install the wxWidgets package on *buntu:

 sudo apt-get install libwxgtk2.8-dev

Alternatively, to build wxWidgets from source:
Install your distro's gtk2 devel package (which is libgtk2.0-dev in ubuntu) plus sensible things like 'g++' and 'make'.
Download the current stable wxGTK tarball and do:

 tar -xzf ./wxGTK-2.8.12.tar.gz
 cd wxGTK-2.8.12
 mkdir build_gtk
 cd build_gtk
 ../configure --enable-unicode
 make
 [Become the superuser]
 make install
 ldconfig

If you're going to develop wxWidgets apps, adding --enable-debug to the configure line would be a vastly good idea.

CodeLite from source

For other Linux distros, you can build CodeLite from source. There's a tarball at the above url, or you can checkout the latest CodeLite version from svn:

 svn co https://codelite.svn.sourceforge.net/svnroot/codelite/trunk codelite

Once the tarball is untarred or the checkout completed, you can create a 'Release Unicode' build with:

 cd codelite/
 ./configure 
 make
 [Become the superuser]
 make install

For further information check "Developers/Linux" page.