How To Install perl-Net-Amazon-EC2-Metadata on Fedora 36
Introduction
In this tutorial we learn how to install perl-Net-Amazon-EC2-Metadata
on Fedora 36.
What is perl-Net-Amazon-EC2-Metadata
This module queries Amazon’s Elastic Compute Cloud Metadata service. It also fetches ‘user_data’ which follows the same API but is often no considered part of the metadata service by Amazons documentation. The module also ships with a command line tool ec2meta that provides the same data.
We can use yum
or dnf
to install perl-Net-Amazon-EC2-Metadata
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Net-Amazon-EC2-Metadata.
Install perl-Net-Amazon-EC2-Metadata on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install perl-Net-Amazon-EC2-Metadata
using dnf
by running the following command:
sudo dnf -y install perl-Net-Amazon-EC2-Metadata
Install perl-Net-Amazon-EC2-Metadata on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install perl-Net-Amazon-EC2-Metadata
using yum
by running the following command:
sudo yum -y install perl-Net-Amazon-EC2-Metadata
How To Uninstall perl-Net-Amazon-EC2-Metadata on Fedora 36
To uninstall only the perl-Net-Amazon-EC2-Metadata
package we can use the following command:
sudo dnf remove perl-Net-Amazon-EC2-Metadata
perl-Net-Amazon-EC2-Metadata Package Contents on Fedora 36
/usr/bin/ec2meta
/usr/share/doc/perl-Net-Amazon-EC2-Metadata
/usr/share/doc/perl-Net-Amazon-EC2-Metadata/Changes
/usr/share/doc/perl-Net-Amazon-EC2-Metadata/README
/usr/share/man/man1/ec2meta.1.gz
/usr/share/man/man3/Net::Amazon::EC2::Metadata.3pm.gz
/usr/share/perl5/vendor_perl/Net
/usr/share/perl5/vendor_perl/Net/Amazon
/usr/share/perl5/vendor_perl/Net/Amazon/EC2
/usr/share/perl5/vendor_perl/Net/Amazon/EC2/Metadata.pm
References
Summary
In this tutorial we learn how to install perl-Net-Amazon-EC2-Metadata
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).