How To Install geary on Ubuntu 22.04

In this tutorial we learn how to install geary on Ubuntu 22.04. geary is lightweight email client designed for the GNOME desktop

Introduction

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

What is geary

geary is:

Geary is an email reader for GNOME designed to let you read your email quickly and effortlessly. Its interface is based on conversations, so you can easily read an entire discussion without having to click from message to message.

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

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

sudo apt-get update

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

sudo apt-get -y install geary

Install geary Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install geary

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

sudo aptitude -y install geary

How To Uninstall geary on Ubuntu 22.04

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

sudo apt-get remove geary

Uninstall geary And Its Dependencies

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

sudo apt-get -y autoremove geary

Remove geary Configurations and Data

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

sudo apt-get -y purge geary

Remove geary configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge geary

References

Summary

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