CodeLite Apt Repository
If you use a debian-based distro there are the following CodeLite repositories available:
| Repository | Available Versions | Component | |
|---|---|---|---|
| debian | http://www.codelite.co.uk/debian/ | squeeze | contrib |
| ubuntu | http://www.codelite.co.uk/ubuntu/ | lucid maverick natty oneiric precise | universe |
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:
| Distro/release | Line to append |
|---|---|
| debian squeeze | deb http://www.codelite.co.uk/debian/ squeeze contrib |
| ubuntu lucid | deb http://www.codelite.co.uk/ubuntu/ lucid universe |
| ubuntu maverick | deb http://www.codelite.co.uk/ubuntu/ maverick universe |
| ubuntu natty | deb http://www.codelite.co.uk/ubuntu/ natty universe |
| ubuntu oneiric | deb http://www.codelite.co.uk/ubuntu/ oneiric universe |
| ubuntu precise | deb 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

