How To Install jedit on Debian 9

In this tutorial we learn how to install jedit on Debian 9. jedit is Plugin-based editor for programmers

Introduction

In this tutorial we learn how to install jedit on Debian 9.

What is jedit

jedit is:

As one of the most feature rich editors available, jEdit boasts support for syntax highlighting in more than 140 languages. jEdit combines the power of Emacs, the user-friendliness of Kate, and the advanced editing features (such as vertical paste) of Ultraedit, to bring you an open-source plugin-based programmer’s editor of professional quality.

It is possible to define complex macros in BeanShell or Jython, or other languages that fit into the BSF. jEdit offers a powerful and user-friendly keyboard mapping system (including 2-keystroke shortcuts), making it possible to give jEdit a very Emacs-like feel, if you so desire.

Its functionality is easily extended by the use of ‘plugins’ which can be downloaded, updated, and installed, all without exiting the editor. These include a built-in Console shell integration, which lets you execute interactive external commands inside your editor, as well as bind them to keyboard shortcuts. The FTP plugin lets you browse and edit files on remote systems over FTP or SFTP. Other plugins provide shells, object oriented structure/code browsers, or completion popups for Java, XML, HTML, Ant, LaTeX, Python, Ruby, Perl, C, C++, bash, Scheme, Prolog, and many other languages.

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

Install jedit Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install jedit

Install jedit Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install jedit

Install jedit 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 jedit using aptitude by running the following command:

sudo aptitude -y install jedit

How To Uninstall jedit on Debian 9

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

sudo apt-get remove jedit

Uninstall jedit And Its Dependencies

To uninstall jedit and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove jedit

Remove jedit Configurations and Data

To remove jedit configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge jedit

Remove jedit configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge jedit

Dependencies

jedit have the following dependencies:

References

Summary

In this tutorial we learn how to install jedit package on Debian 9 using different package management tools: apt, apt-get and aptitude.