How To Install jed on Ubuntu 22.04

In this tutorial we learn how to install jed on Ubuntu 22.04. jed is editor for programmers (textmode version)

Introduction

In this tutorial we learn how to install jed on Ubuntu 22.04.

What is jed

jed is:

Jed is a small, fast and powerful text editor, yet starts faster than bash.

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, …

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

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)

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

There are three methods to install jed on Ubuntu 22.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 jed Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install jed

Install jed Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install jed

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

sudo aptitude -y install jed

How To Uninstall jed on Ubuntu 22.04

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

sudo apt-get remove jed

Uninstall jed And Its Dependencies

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

sudo apt-get -y autoremove jed

Remove jed Configurations and Data

To remove jed configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge jed

Remove jed configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge jed

References

Summary

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