How To Install perl-Net-Patricia on CentOS 7
Introduction
In this tutorial we learn how to install perl-Net-Patricia
on CentOS 7.
What is perl-Net-Patricia
This module uses a Patricia Trie data structure to quickly perform IP address prefix matching for applications such as IP subnet, network or routing table lookups. The data structure is based on a radix tree using a radix of two, so sometimes you see patricia implementations called “radix” as well. The term “Trie” is derived from the word “retrieval” but is pronounced like “try”. Patricia stands for “Practical Algorithm to Retrieve Information Coded as Alphanumeric”, and was first suggested for routing table lookups by Van Jacobsen. Patricia Trie performance characteristics are well-known as it has been employed for routing table lookups within the BSD kernel since the 4.3 Reno release.
We can use yum
or dnf
to install perl-Net-Patricia
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Net-Patricia.
Install perl-Net-Patricia on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install perl-Net-Patricia
using yum
by running the following command:
Install perl-Net-Patricia 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.
After updating yum database, We can install perl-Net-Patricia
using dnf
by running the following command:
How To Uninstall perl-Net-Patricia on CentOS 7
To uninstall only the perl-Net-Patricia
package we can use the following command:
References
Summary
In this tutorial we learn how to install perl-Net-Patricia
on CentOS 7 using yum
and dnf
.