How To Install mapserver on Fedora 36

In this tutorial we learn how to install mapserver in Fedora 36. mapserver is Environment for building spatially-enabled internet applications

Introduction

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

What is mapserver

Mapserver is an internet mapping program that converts GIS data to map images in real time. With appropriate interface pages, Mapserver can provide an interactive internet map based on custom GIS data.

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

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

sudo dnf -y install mapserver

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

sudo yum -y install mapserver

How To Uninstall mapserver on Fedora 36

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

sudo dnf remove mapserver

mapserver Package Contents on Fedora 36

/usr/bin/legend
/usr/bin/mapserv
/usr/bin/msencrypt
/usr/bin/scalebar
/usr/bin/shp2img
/usr/bin/shptree
/usr/bin/shptreetst
/usr/bin/shptreevis
/usr/bin/sortshp
/usr/bin/tile4ms
/usr/lib/.build-id
/usr/lib/.build-id/10
/usr/lib/.build-id/10/757dd8de90fe9caae2fd80e586af4559fa0721
/usr/lib/.build-id/12
/usr/lib/.build-id/12/d9dc4f7612003c4c15ba953e7a87d871fd9b91
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/317e1f669de2ad394aba7cf6b0ed42cd5dfe55
/usr/lib/.build-id/31
/usr/lib/.build-id/31/6fcb8913be620c696f21238c975186734ebed0
/usr/lib/.build-id/45
/usr/lib/.build-id/45/91adb4b5da5f493e9ccb80fad62736eec0390b
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/25527d4143e0fa1066ad8ed7fd3af76851fae1
/usr/lib/.build-id/87
/usr/lib/.build-id/87/f92e4058f69daa9903458cf59d3bed0c29410c
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/41dceb7a93d382e48cadf59165186d0ac714a3
/usr/lib/.build-id/a7
/usr/lib/.build-id/a7/9fd6be565945cdac9c75df335ddd3b88f9bb3a
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/dd225698336474d3d54961f18f691de8801230
/usr/share/doc/mapserver
/usr/share/doc/mapserver/README.rst
/usr/share/mapserver
/usr/share/mapserver/cmake
/usr/share/mapserver/cmake/mapserver-config-version.cmake
/usr/share/mapserver/cmake/mapserver-config.cmake
/usr/share/mapserver/cmake/mapserverTargets-noconfig.cmake
/usr/share/mapserver/cmake/mapserverTargets.cmake
/usr/share/mapserver/mapfile.xsd
/usr/share/mapserver/mapfile.xsl

References

Summary

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