How To Install libgecodegist44 on Ubuntu 18.04

In this tutorial we learn how to install libgecodegist44 on Ubuntu 18.04. libgecodegist44 is Gecode Interactive Search Tool library

Introduction

In this tutorial we learn how to install libgecodegist44 on Ubuntu 18.04.

What is libgecodegist44

libgecodegist44 is:

Gecode is a toolkit for developing constraint-based systems and applications. Gecode provides a constraint solver with state-of-the-art performance while being modular and extensible.

This package contains libgecodegist, a graphical debugging tool, and libgecodedriver, a set of helper classes for writing standalone programs. They have been separated from the main Gecode library package to avoid pulling in Qt as a dependency.

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

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

sudo apt-get update

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

sudo apt-get -y install libgecodegist44

Install libgecodegist44 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libgecodegist44

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

sudo aptitude -y install libgecodegist44

How To Uninstall libgecodegist44 on Ubuntu 18.04

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

sudo apt-get remove libgecodegist44

Uninstall libgecodegist44 And Its Dependencies

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

sudo apt-get -y autoremove libgecodegist44

Remove libgecodegist44 Configurations and Data

To remove libgecodegist44 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libgecodegist44

Remove libgecodegist44 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libgecodegist44

References

Summary

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