How To Install libgtkimageview-dev on Ubuntu 18.04

In this tutorial we learn how to install libgtkimageview-dev on Ubuntu 18.04. libgtkimageview-dev is image viewer widget for GTK+ (development files)

Introduction

In this tutorial we learn how to install libgtkimageview-dev on Ubuntu 18.04.

What is libgtkimageview-dev

libgtkimageview-dev is:

GtkImageView is a GTK+ widget that provides a zoomable and panable view of an image. It is intended to be usable in most types of image viewing applications.

Among its features are:

  • Mouse and keyboard zooming
  • Scrolling and dragging
  • Adjustable interpolation
  • Fullscreen mode
  • GIF animation support

This package contains the development files.

There are three methods to install libgtkimageview-dev on Ubuntu 18.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 libgtkimageview-dev Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libgtkimageview-dev

Install libgtkimageview-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libgtkimageview-dev

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

sudo aptitude -y install libgtkimageview-dev

How To Uninstall libgtkimageview-dev on Ubuntu 18.04

To uninstall only the libgtkimageview-dev package we can use the following command:

sudo apt-get remove libgtkimageview-dev

Uninstall libgtkimageview-dev And Its Dependencies

To uninstall libgtkimageview-dev and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libgtkimageview-dev

Remove libgtkimageview-dev Configurations and Data

To remove libgtkimageview-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libgtkimageview-dev

Remove libgtkimageview-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libgtkimageview-dev

References

Summary

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