How To Install libgee-0.8-2 on Debian 11

In this tutorial we learn how to install libgee-0.8-2 on Debian 11. libgee-0.8-2 is GObject based collection and utility library

Introduction

In this tutorial we learn how to install libgee-0.8-2 on Debian 11.

What is libgee-0.8-2

libgee-0.8-2 is:

libgee is a collection library providing GObject-based interfaces and classes for commonly used data structures.

libgee provides the following interfaces:

  • Traversable
    • Iterable
      • Collection

        List

        • BidirList

        Set

        • SortedSet
          • BidirSortedSet

        MultiSet

        Queue

        • Deque
      • Map

        SortedMap

        • BidirSortedMap
    • Iterator
      • BidirIterator

        BidirListIterator

      • ListIterator

        BidirListIterator

  • MultiMap
  • Future

The ArrayList, ArrauQueue, ConcurrentLinkedList, ConcurrentSet, HashSet, HashMap, HashMultiSet, HashMultiMap, LinkedList, PriorityQueue, Promise, TreeSet, TreeMap, TreeMultiSet, and TreeMultiMap classes provide a reasonable sample implementation of those interfaces. In addition, a set of abstract classes are provided to ease the implementation of new collections.

Around that, the API provides means to retrieve read-only views, efficient sort algorithms, simple, bi-directional or index-based mutable iterators depending on the collection type.

libgee is written in Vala and can be used like any GObject-based C library. It’s planned to provide bindings for further languages.

This package contains the shared libraries.

There are three methods to install libgee-0.8-2 on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libgee-0.8-2 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libgee-0.8-2

Install libgee-0.8-2 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libgee-0.8-2 using apt by running the following command:

sudo apt -y install libgee-0.8-2

Install libgee-0.8-2 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libgee-0.8-2 using aptitude by running the following command:

sudo aptitude -y install libgee-0.8-2

How To Uninstall libgee-0.8-2 on Debian 11

To uninstall only the libgee-0.8-2 package we can use the following command:

sudo apt-get remove libgee-0.8-2

Uninstall libgee-0.8-2 And Its Dependencies

To uninstall libgee-0.8-2 and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove libgee-0.8-2

Remove libgee-0.8-2 Configurations and Data

To remove libgee-0.8-2 configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge libgee-0.8-2

Remove libgee-0.8-2 configuration, data, and all of its dependencies

We can use the following command to remove libgee-0.8-2 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libgee-0.8-2

Dependencies

libgee-0.8-2 have the following dependencies:

References

Summary

In this tutorial we learn how to install libgee-0.8-2 package on Debian 11 using different package management tools: apt, apt-get and aptitude.