CodeLite Apt Repository


If you use a debian-based distro there are the following CodeLite repositories available:

CodeLite Repositories
 RepositoryAvailable VersionsComponent
debianhttp://www.codelite.co.uk/debian/squeezecontrib
ubuntuhttp://www.codelite.co.uk/ubuntu/lucid maverick natty oneiric preciseuniverse

The ubuntu ones should also work on other *buntus, and on derivatives e.g. Mint.

Before you use one for the first time, you'll need to tell apt about the CodeLite public key by doing as superuser (su or sudo depending on your distro):

 apt-key adv --fetch-keys http://www.codelite.co.uk/CodeLite.asc 

Now let apt know that the repository exits. If you use an apt front-end e.g. synaptic, tell it to Add a repository, using as data the appropriate entry in the table above.

If you do things by hand, add the appropriate url to /etc/apt/sources.list. Become superuser and either use a text editor to edit /etc/apt/sources.list, adding a line similar to:

 deb http://www.codelite.co.uk/debian/ squeeze contrib

or, in a terminal, do:

 echo "deb http://www.codelite.co.uk/debian/ squeeze contrib" >> /etc/apt/sources.list

The line to add is different for different distros/versions; choose the appropriate one:

CodeLite Repositories
Distro/releaseLine to append
debian squeezedeb http://www.codelite.co.uk/debian/ squeeze contrib
ubuntu luciddeb http://www.codelite.co.uk/ubuntu/ lucid universe
ubuntu maverickdeb http://www.codelite.co.uk/ubuntu/ maverick universe
ubuntu nattydeb http://www.codelite.co.uk/ubuntu/ natty universe
ubuntu oneiricdeb http://www.codelite.co.uk/ubuntu/ oneiric universe
ubuntu precisedeb http://www.codelite.co.uk/ubuntu/ precise universe

You then need update the repositories. In synaptic, click the Reload button. If you're doing things by hand, do:

 apt-get update

You should now be able to install CodeLite in the normal way through synaptic, or by doing:

 apt-get install codelite