How To Install gpicview on Ubuntu 22.04

In this tutorial we learn how to install gpicview on Ubuntu 22.04. gpicview is lightweight image viewer

Introduction

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

What is gpicview

gpicview is:

GPicView is a lightweight GTK+ 2.x based image viewer with following features:

  • Extremely lightweight and fast with low memory usage
  • Very suitable for default image viewer of desktop system
  • Simple and intuitive interface
  • Minimal lib dependency: Only pure GTK+ is used
  • Desktop independent: Doesn’t require any specific desktop environment

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

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

sudo apt-get update

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

sudo apt-get -y install gpicview

Install gpicview Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gpicview

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

sudo aptitude -y install gpicview

How To Uninstall gpicview on Ubuntu 22.04

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

sudo apt-get remove gpicview

Uninstall gpicview And Its Dependencies

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

sudo apt-get -y autoremove gpicview

Remove gpicview Configurations and Data

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

sudo apt-get -y purge gpicview

Remove gpicview configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge gpicview

References

Summary

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