How To Install libgee on CentOS 7

In this tutorial we learn how to install libgee on CentOS 7. libgee is GObject collection library

Introduction

In this tutorial we learn how to install libgee on CentOS 7.

What is libgee

libgee is a collection library providing GObject-based interfaces and classes for commonly used data structures. * Traversable o Iterable + Collection - List * BidirList - Set * SortedSet o BidirSortedSet - MultiSet - Queue * Deque + Map - SortedMap * BidirSortedMap o Iterator + BidirIterator - BidirListIterator + ListIterator - BidirListIterator * MultiMap The ArrayList, ArrauQueue, ConcurrentLinkedList, ConcurrentSet, HashSet, HashMap, HashMultiSet, HashMultiMap, LinkedList, PriorityQueue, 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 provide 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. libgee is a collection library providing GObject-based interfaces and classes for commonly used data structures. * Traversable o Iterable + Collection - List * BidirList - Set * SortedSet o BidirSortedSet - MultiSet - Queue * Deque + Map - SortedMap * BidirSortedMap o Iterator + BidirIterator - BidirListIterator + ListIterator - BidirListIterator * MultiMap The ArrayList, ArrauQueue, ConcurrentLinkedList, ConcurrentSet, HashSet, HashMap, HashMultiSet, HashMultiMap, LinkedList, PriorityQueue, 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 provide 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.

We can use yum or dnf to install libgee on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install libgee.

Install libgee on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install libgee using yum by running the following command:

sudo yum -y install libgee

Install libgee on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install libgee using dnf by running the following command:

sudo dnf -y install libgee

How To Uninstall libgee on CentOS 7

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

sudo dnf remove libgee

References

Summary

In this tutorial we learn how to install libgee on CentOS 7 using yum and dnf.