How To Install libeclipse-jdt-ui-java on Debian 10

Learn how to install libeclipse-jdt-ui-java on Debian 10 with this tutorial. libeclipse-jdt-ui-java is Eclipse Java Development Tools UI

Introduction

In this tutorial we learn how to install libeclipse-jdt-ui-java on Debian 10.

What is libeclipse-jdt-ui-java

libeclipse-jdt-ui-java is:

Eclipse JDT UI implements the user interface for the Java IDE. It provides several workbench contributions for viewing and manipulating Java code:

  • Package Explorer View - shows the Java element tree as defined by a project’s build class path
  • Type Hierarchy View - shows the sub- and supertype hierarchies
  • Java Outline View - shows the structure of a Java compilation unit or class file
  • Java Browsing Perspecitve - allows navigating the Java model using separate views for projects, packages, types and memebers.
  • Wizards for creating Java elements - Java project, package, class, interface
  • Java Editor - syntax coloring, content specific code assist, code resolve, method level edit, import assistance, quick fix and quick assist

In addition to these workbench elements the following functions are provided:

  • Refactoring support - Extract Method, Safe Rename and Moving with reference updates, Self Encapsulate Field etc.
  • Java searching - find declarations of and/or references to packages, types, methods, and fields, scoped to the workspace, a working set, or the current selection.
  • Java aware structured compare - determine and present changes to individual Java methods. It supports to replace individual Java elements with a version of an element from the local history.

This package contains the org.eclipse.jdt.ui bundle.

There are three methods to install libeclipse-jdt-ui-java on Debian 10. 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-jdt-ui-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-jdt-ui-java using apt-get by running the following command:

sudo apt-get -y install libeclipse-jdt-ui-java

Install libeclipse-jdt-ui-java Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libeclipse-jdt-ui-java

Install libeclipse-jdt-ui-java 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libeclipse-jdt-ui-java

How To Uninstall libeclipse-jdt-ui-java on Debian 10

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

sudo apt-get remove libeclipse-jdt-ui-java

Uninstall libeclipse-jdt-ui-java And Its Dependencies

To uninstall libeclipse-jdt-ui-java and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove libeclipse-jdt-ui-java

Remove libeclipse-jdt-ui-java Configurations and Data

To remove libeclipse-jdt-ui-java configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libeclipse-jdt-ui-java

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

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

sudo apt-get -y autoremove --purge libeclipse-jdt-ui-java

Dependencies

libeclipse-jdt-ui-java have the following dependencies:

References

Summary

In this tutorial we learn how to install libeclipse-jdt-ui-java package on Debian 10 using different package management tools: apt, apt-get and aptitude.