How To Install jed-extra on Ubuntu 18.04

In this tutorial we learn how to install jed-extra on Ubuntu 18.04. jed-extra is collection of useful Jed modes and utilities

Introduction

In this tutorial we learn how to install jed-extra on Ubuntu 18.04.

What is jed-extra

jed-extra is:

The Jed text editor can be easily extended using the S-Lang scripting language.

This package contains add-on packages for the Jed editor, mainly from the Jedmodes repository at SourceForge (http://jedmodes.sourceforge.net/)

Enhancements include:

  • new or enhanced modes for: Jed help, file management, GNU info, man pages, calculator, calendar, dict dictionary lookup (including thesaurus), spellchecking, “Game of Life” and snake, version control (CVS/SVN interface)
  • additional language modes: CSS, email, gnuplot, make, man, mupad, po_mode, reStructuredText, ruby, SQL, yodl
  • new or enhanced editor emulation modes for: vi, CUA, Brief
  • extensible URI-scheme handler http:, ftp:, man:, floppy:, locate:, grep:
  • buffer history and fast switching between (auto-)numbered buffers
  • S-Lang utility functions and extended set of Key_* variables for xjed
  • framework for installation of local or private extensions.

There are three methods to install jed-extra on Ubuntu 18.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-extra 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-extra using apt-get by running the following command:

sudo apt-get -y install jed-extra

Install jed-extra Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install jed-extra

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

sudo aptitude -y install jed-extra

How To Uninstall jed-extra on Ubuntu 18.04

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

sudo apt-get remove jed-extra

Uninstall jed-extra And Its Dependencies

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

sudo apt-get -y autoremove jed-extra

Remove jed-extra Configurations and Data

To remove jed-extra configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge jed-extra

Remove jed-extra configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge jed-extra

References

Summary

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