How To Install mapserver-perl on Fedora 36

In this tutorial we learn how to install mapserver-perl in Fedora 36. mapserver-perl is Perl/Mapscript map making extensions to Perl

Introduction

In this tutorial we learn how to install mapserver-perl on Fedora 36.

What is mapserver-perl

The Perl/Mapscript extension provides full map customization capabilities within the Perl programming language.

We can use yum or dnf to install mapserver-perl on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install mapserver-perl.

Install mapserver-perl 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 mapserver-perl using dnf by running the following command:

sudo dnf -y install mapserver-perl

Install mapserver-perl 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 mapserver-perl using yum by running the following command:

sudo yum -y install mapserver-perl

How To Uninstall mapserver-perl on Fedora 36

To uninstall only the mapserver-perl package we can use the following command:

sudo dnf remove mapserver-perl

mapserver-perl Package Contents on Fedora 36

/usr/lib64/perl5/vendor_perl/auto/mapscript
/usr/lib64/perl5/vendor_perl/auto/mapscript/mapscript.so
/usr/lib64/perl5/vendor_perl/mapscript.pm
/usr/share/doc/mapserver-perl
/usr/share/doc/mapserver-perl/README.rst
/usr/share/doc/mapserver-perl/examples
/usr/share/doc/mapserver-perl/examples/RFC24.pl
/usr/share/doc/mapserver-perl/examples/buffer.pl
/usr/share/doc/mapserver-perl/examples/distanceToPoint.pl
/usr/share/doc/mapserver-perl/examples/distanceToShape.pl
/usr/share/doc/mapserver-perl/examples/dump.pl
/usr/share/doc/mapserver-perl/examples/shapeprops.pl
/usr/share/doc/mapserver-perl/examples/shpPoint2GPX.pl
/usr/share/doc/mapserver-perl/examples/shp_in_shp.pl
/usr/share/doc/mapserver-perl/examples/shpinfo.pl
/usr/share/doc/mapserver-perl/examples/thin.pl
/usr/share/doc/mapserver-perl/examples/wxs.pl

References

Summary

In this tutorial we learn how to install mapserver-perl on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).