How To Install libgee-0.8-dev on Debian 11

In this tutorial we learn how to install libgee-0.8-dev on Debian 11. libgee-0.8-dev is GObject based collection and utility library (development files)

Introduction

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

What is libgee-0.8-dev

libgee-0.8-dev 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 headers and development libraries.

There are three methods to install libgee-0.8-dev 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-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 libgee-0.8-dev using apt-get by running the following command:

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

Install libgee-0.8-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libgee-0.8-dev

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

sudo aptitude update

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

sudo aptitude -y install libgee-0.8-dev

How To Uninstall libgee-0.8-dev on Debian 11

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

sudo apt-get remove libgee-0.8-dev

Uninstall libgee-0.8-dev And Its Dependencies

To uninstall libgee-0.8-dev 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-dev

Remove libgee-0.8-dev Configurations and Data

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

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

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

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

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

Dependencies

libgee-0.8-dev have the following dependencies:

References

Summary

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