How To Install eog on Ubuntu 22.04

In this tutorial we learn how to install eog on Ubuntu 22.04. eog is Eye of GNOME graphics viewer program

Introduction

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

What is eog

eog is:

eog or the Eye of GNOME is a simple graphics viewer for the GNOME desktop which uses the gdk-pixbuf library. It can deal with large images, and zoom and scroll with constant memory usage. Its goals are simplicity and standards compliance.

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

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

sudo apt-get update

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

sudo apt-get -y install eog

Install eog Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install eog

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

sudo aptitude -y install eog

How To Uninstall eog on Ubuntu 22.04

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

sudo apt-get remove eog

Uninstall eog And Its Dependencies

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

sudo apt-get -y autoremove eog

Remove eog Configurations and Data

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

sudo apt-get -y purge eog

Remove eog configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge eog

References

Summary

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