How To Install libeclipse-cdt-java on Kali Linux

In this tutorial we learn how to install libeclipse-cdt-java on Kali Linux. libeclipse-cdt-java is C/C++ Development Tools for Eclipse (Java libraries)

Introduction

In this tutorial we learn how to install libeclipse-cdt-java on Kali Linux.

What is libeclipse-cdt-java

libeclipse-cdt-java is:

The CDT Project provides a fully functional C and C++ Integrated Development Environment based on the Eclipse platform. Features include: support for project creation and managed build for various toolchains, standard make build, source navigation, various source knowledge tools, such as type hierarchy, call graph, include browser, macro definition browser, code editor with syntax highlighting, folding and hyperlink navigation, source code refactoring and code generation, visual debugging tools, including memory, registers, and disassembly viewers.

This package contains only the core and native core Java libraries.

There are three methods to install libeclipse-cdt-java on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libeclipse-cdt-java Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libeclipse-cdt-java

Install libeclipse-cdt-java Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libeclipse-cdt-java using apt by running the following command:

sudo apt -y install libeclipse-cdt-java

Install libeclipse-cdt-java Using aptitude

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

sudo aptitude update

After updating apt database, We can install libeclipse-cdt-java using aptitude by running the following command:

sudo aptitude -y install libeclipse-cdt-java

How To Uninstall libeclipse-cdt-java on Kali Linux

To uninstall only the libeclipse-cdt-java package we can use the following command:

sudo apt-get remove libeclipse-cdt-java

Uninstall libeclipse-cdt-java And Its Dependencies

To uninstall libeclipse-cdt-java and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libeclipse-cdt-java

Remove libeclipse-cdt-java Configurations and Data

To remove libeclipse-cdt-java configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libeclipse-cdt-java

Remove libeclipse-cdt-java configuration, data, and all of its dependencies

We can use the following command to remove libeclipse-cdt-java configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libeclipse-cdt-java

Dependencies

libeclipse-cdt-java have the following dependencies:

References

Summary

In this tutorial we learn how to install libeclipse-cdt-java package on Kali Linux using different package management tools: apt, apt-get and aptitude.