How To Install apel on Ubuntu 22.04

In this tutorial we learn how to install apel on Ubuntu 22.04. apel is portable library for emacsen

Introduction

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

What is apel

apel is:

APEL stands for “A Portable Emacs Library”. It consists of following modules:

poe.el emulation module mainly for basic functions and special forms/macros of latest emacsen poem.el basic functions to write portable MULE programs pces.el portable character encoding scheme (coding-system) features invisible.el features about invisible region mcharset.el MIME charset related features static.el utility for static evaluation broken.el information of broken facilities of Emacs pccl.el utility to write portable CCL program alist.el utility for Association-list calist.el utility for condition tree and condition/situation-alist path-util.el utility for path management or file detection filename.el utility to make file-name install.el utility to install emacs-lisp package mule-caesar.el ROT 13-47-48 Caesar rotation utility emu.el emu bundled in tm-7.106 compatibility pcustom.el portable custom environment product.el functions for product version information

This package provides APEL-LB, a variant of APEL using lexical binding mainly maintained for Wanderlust mail/news reader.

There are three methods to install apel 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 apel Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install apel

Install apel Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install apel

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

sudo aptitude -y install apel

How To Uninstall apel on Ubuntu 22.04

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

sudo apt-get remove apel

Uninstall apel And Its Dependencies

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

sudo apt-get -y autoremove apel

Remove apel Configurations and Data

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

sudo apt-get -y purge apel

Remove apel configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge apel

References

Summary

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