How To Install libgee-0.8-2 on Ubuntu 22.04

Hostnbit
In this tutorial we learn how to install libgee-0.8-2 on Ubuntu 22.04. 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 Ubuntu 22.04.

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
        • BidirList
        • SortedSet
          • BidirSortedSet
        • Deque
      • Map
        • BidirSortedMap
    • Iterator
      • BidirIterator
      • ListIterator
  • 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 Ubuntu 22.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 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 Ubuntu. 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 Ubuntu 22.04

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 Ubuntu 22.04, 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 Ubuntu 22.04 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

References

Summary

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

Hostnbit

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Menu Title
Scroll to Top