Kiến Thức Linux

How to Install CodeLite IDE 9.2 in Ubuntu 16.04, 14.04

codelite-9-2

codelite-9-2

While Ubuntu offers old versions of CodeLite in its main archive, here’s how to install the latest CodeLite IDE 9.2 in Ubuntu 16.04, Ubuntu 14.04, Linux Mint 18, 17.

CodeLite 9.2 so far is the latest stable release of the C, C++, PHP and Node.js IDE. It comes with a large list of improvements and bug fixes. See release note for details.

Install CodeLite IDE 9.2 via PPA:

CodeLite has an official apt repository for Ubuntu and Debian testing. It contains the 9.2 release of Ubuntu 16.04, and the 9.1 release for Ubuntu 14.04.

1. To add the repository, open terminal (Ctrl+Alt+T) and run command:

sudo sh -c 'echo "deb http://repos.codelite.org/ubuntu/ xenial universe" >> /etc/apt/sources.list.d/codelite.list'

CodeLite apt repository

For Ubuntu 14.04 and Linux Mint 17, replace xenial in the code with trusty.

2. Then run command to setup the key so that Ubuntu trust the packages from that repository:

sudo apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc

3. To upgrade from a previous release, now launch Software Updater and upgrade the IDE after checking for updates:

upgrade CodeLite IDE

Or just run commands below in terminal to install or upgrade CodeLite:

sudo apt update && sudo apt install codelite wxcrafter

Uninstall CodeLite 9.2:

Since the 9.2 release, the apt repository offers packages with ‘unofficial’ added to the version to avoid a name-clash, so that you can select to install the stock version CodeLite 9.1 in Ubuntu 16.04 via command:

sudo apt install codelite=9.1*

The command will downgrade any future release installed from CodeLite repository in Ubuntu 16.04 or Linux Mint 18.

In Addition:

For Ubuntu 14.04 users who want to install the CodeLite 9.2, there’s an unofficial PPA available.

1. Open terminal and run command to add the PPA:

sudo add-apt-repository ppa:jonathonf/codelite

2. Then upgrade CodeLite from a previous release using Software Updater, or just run command:

sudo apt update && sudo apt install codelite wxcrafter

To downgrade to the stock version (2.8.0) in Ubuntu 14.04, run:

sudo apt install ppa-purge && sudo ppa-purge ppa:jonathonf/codelite

Đăng ký liền tay Nhận Ngay Bài Mới

Subscribe ngay

Cám ơn bạn đã đăng ký !

Lỗi đăng ký !

Add Comment

Click here to post a comment

Đăng ký liền tay
Nhận Ngay Bài Mới

Subscribe ngay

Cám ơn bạn đã đăng ký !

Lỗi đăng ký !