How To Install perl-Socket.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install perl-Socket.x86_64
on Amazon Linux 2.
What is perl-Socket.x86_64
This module provides a variety of constants, structure manipulators and other functions related to socket-based networking. The values and functions provided are useful when used in conjunction with Perl core functions such as socket(), setsockopt() and bind(). It also provides several other support functions, mostly for dealing with conversions of network addresses between human-readable and native binary forms, and for hostname resolver operations.
We can use yum
to install perl-Socket.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Socket.x86_64.
Install perl-Socket.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install perl-Socket.x86_64
using yum
by running the following command:
sudo yum -y install perl-Socket.x86_64
How To Uninstall perl-Socket.x86_64 on Amazon Linux 2
To uninstall only the perl-Socket.x86_64
package we can use the following command:
sudo yum remove perl-Socket.x86_64
perl-Socket.x86_64 Package Contents on Amazon Linux 2
/usr/lib64/perl5/vendor_perl/Socket.pm
/usr/lib64/perl5/vendor_perl/auto/Socket
/usr/lib64/perl5/vendor_perl/auto/Socket/Socket.so
/usr/share/doc/perl-Socket-2.010
/usr/share/doc/perl-Socket-2.010/Artistic
/usr/share/doc/perl-Socket-2.010/Changes
/usr/share/doc/perl-Socket-2.010/Copying
/usr/share/doc/perl-Socket-2.010/LICENSE
/usr/share/man/man3/Socket.3pm.gz
References
Summary
In this tutorial we learn how to install perl-Socket.x86_64
on Amazon Linux 2 using yum.