How To Install codelite on Ubuntu 20.04

In this tutorial we learn how to install codelite on Ubuntu 20.04. codelite is Powerful and lightweight IDE

Introduction

In this tutorial we learn how to install codelite on Ubuntu 20.04.

What is codelite

codelite is:

CodeLite is a powerful and lightweight IDE specializing in C, C++, PHP and Javascript. Its features include:

  • Generic support for compilers
  • Built-in GDB support
  • Database-based Code Completion mechanism
  • Syntax highlighting for C/C++, Java, Perl, XML, Makefile, Lua, Diff files, PHP, JavaScript, Python, HTML, and ASP
  • Text Folding
  • Bookmarks
  • Find and Replace
  • doxygen comment generator

There are three methods to install codelite on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install codelite Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install codelite using apt-get by running the following command:

sudo apt-get -y install codelite

Install codelite Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install codelite using apt by running the following command:

sudo apt -y install codelite

Install codelite Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install codelite using aptitude by running the following command:

sudo aptitude -y install codelite

How To Uninstall codelite on Ubuntu 20.04

To uninstall only the codelite package we can use the following command:

sudo apt-get remove codelite

Uninstall codelite And Its Dependencies

To uninstall codelite and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove codelite

Remove codelite Configurations and Data

To remove codelite configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge codelite

Remove codelite configuration, data, and all of its dependencies

We can use the following command to remove codelite configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge codelite

References

Summary

In this tutorial we learn how to install codelite package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.