How To Install xjed on Debian 12

Learn how to install xjed on Debian 12 with this tutorial. xjed is editor for programmers (x11 version)

Introduction

In this tutorial we learn how to install xjed on Debian 12.

What is xjed

xjed is:

Jed is a small, fast (faster startup than xterm with bash), and powerful text editor.

Completely customizable with prepared emulation modes for Emacs, CUA (similar to KDE/Gnome/Openoffice), Borland-IDE, Brief, and EDT. Extensible in the S-Lang scripting language (with a syntax resembling C).

Editing functions: folding support; rectangular cut/paste; regular expression search/replace; incremental searches; search/replace across multiple files; multiple windows; multiple buffers; …

Special modes (syntax highlight, indention, compile, …) for Basic, C, C++, DCL, FORTRAN, IDL, Java, NROFF, Pascal, Perl, PHP, PostScript, Python, SH. Modes for markup languages include HTML and (La)TeX (with AUC-TeX style editing and BibTeX)

Tools: directory editor (dired); info (browse GNU info files); mail; rmail; ispell; shell mode; …

The native X11 version provides improved mouse support, key configuration and X selection interaction. If no display is available, xjed falls back to text mode, thus there is no need to install both jed and xjed packages.

Additional tools and modes can be found in the jed-extra package.

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

Install xjed Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install xjed

Install xjed Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install xjed

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

sudo aptitude -y install xjed

How To Uninstall xjed on Debian 12

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

sudo apt-get remove xjed

Uninstall xjed And Its Dependencies

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

sudo apt-get -y autoremove xjed

Remove xjed Configurations and Data

To remove xjed configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge xjed

Remove xjed configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge xjed

Dependencies

xjed have the following dependencies:

References

Summary

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