How To Install perl-Net-Patricia on Rocky Linux 8
Introduction
In this tutorial we learn how to install perl-Net-Patricia
on Rocky Linux 8.
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 Rocky Linux 8. 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 Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install perl-Net-Patricia
using dnf
by running the following command:
sudo dnf -y install perl-Net-Patricia
Install perl-Net-Patricia on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install perl-Net-Patricia
using yum
by running the following command:
sudo yum -y install perl-Net-Patricia
How To Uninstall perl-Net-Patricia on Rocky Linux 8
To uninstall only the perl-Net-Patricia
package we can use the following command:
sudo dnf remove perl-Net-Patricia
perl-Net-Patricia Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/14
/usr/lib/.build-id/14/091ac07befd7ad57c263e6568bf586da752014
/usr/lib64/perl5/vendor_perl/Net/Patricia.pm
/usr/lib64/perl5/vendor_perl/auto/Net
/usr/lib64/perl5/vendor_perl/auto/Net/Patricia
/usr/lib64/perl5/vendor_perl/auto/Net/Patricia/Patricia.so
/usr/share/doc/perl-Net-Patricia
/usr/share/doc/perl-Net-Patricia/COPYING
/usr/share/doc/perl-Net-Patricia/Changes
/usr/share/doc/perl-Net-Patricia/README
/usr/share/licenses/perl-Net-Patricia
/usr/share/licenses/perl-Net-Patricia/copyright
/usr/share/man/man3/Net::Patricia.3pm.gz
References
Summary
In this tutorial we learn how to install perl-Net-Patricia
on Rocky Linux 8 using yum and dnf.