How To Install aerc on Ubuntu 22.04

In this tutorial we learn how to install aerc on Ubuntu 22.04. aerc is Worlds Best Email Client

Introduction

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

What is aerc

aerc is:

Some of its more interesting features include:

  • Editing emails in an embedded terminal tmux-style, allowing you to check on incoming emails and reference other threads while you compose your replies
  • Render HTML emails with an interactive terminal web browser, highlight patches with diffs, and browse with an embedded less session
  • Vim-style keybindings and ex-command system, allowing for powerful automation at a single keystroke
  • First-class support for working with git & email
  • Open a new tab with a terminal emulator and a shell running for easy access to nearby git repos for parallel work
  • Support for multiple accounts, with support for IMAP, Maildir, SMTP, and sendmail transfer protocols
  • Asynchronous IMAP support ensures the UI never gets locked up by a flaky network, as mutt often does
  • Efficient network usage - aerc only downloads the information which is necessary to present the UI, making for a snappy and bandwidth-efficient experience 100% free and open source software!

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

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

sudo apt-get update

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

sudo apt-get -y install aerc

Install aerc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install aerc

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

sudo aptitude -y install aerc

How To Uninstall aerc on Ubuntu 22.04

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

sudo apt-get remove aerc

Uninstall aerc And Its Dependencies

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

sudo apt-get -y autoremove aerc

Remove aerc Configurations and Data

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

sudo apt-get -y purge aerc

Remove aerc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge aerc

References

Summary

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