How To Install gnuift-perl on Ubuntu 18.04

In this tutorial we learn how to install gnuift-perl on Ubuntu 18.04. gnuift-perl is GNU Image Finding Tool - perl modules

Introduction

In this tutorial we learn how to install gnuift-perl on Ubuntu 18.04.

What is gnuift-perl

gnuift-perl is:

Architecture independent perl modules of gnuift. The application is contained in the gnuift package.

The GIFT (the GNU Image-Finding Tool) is a Content Based Image Retrieval System (CBIRS). It enables you to do Query By Example on images, giving you the opportunity to improve query results by relevance feedback. For processing your queries the program relies entirely on the content of the images, freeing you from the need to annotate all images before querying the collection.

The GIFT comes with a tool which lets you index whole directory trees containing images in one go. You then can use the GIFT server and its client, to browse your own image collections.

The GIFT is an open framework. The developers explicitly have taken into account the possibility of adding new ways of querying to the framework. The communication protocol for client-server communication, MRML, is XML based and fully documented (http://www.mrml.net). This aims at promoting code reuse among researchers and application developers.

To avoid a name clash with the “gift” package (a fasttrack filesharing client), these packages have been named “gnuift” (also to stress that gnuift is a GNU project).

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

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

sudo apt-get update

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

sudo apt-get -y install gnuift-perl

Install gnuift-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gnuift-perl

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

sudo aptitude -y install gnuift-perl

How To Uninstall gnuift-perl on Ubuntu 18.04

To uninstall only the gnuift-perl package we can use the following command:

sudo apt-get remove gnuift-perl

Uninstall gnuift-perl And Its Dependencies

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

sudo apt-get -y autoremove gnuift-perl

Remove gnuift-perl Configurations and Data

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

sudo apt-get -y purge gnuift-perl

Remove gnuift-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge gnuift-perl

References

Summary

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