How To Install mapserver-ruby on Fedora 36

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

Introduction

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

What is mapserver-ruby

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

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

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

sudo dnf -y install mapserver-ruby

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

sudo yum -y install mapserver-ruby

How To Uninstall mapserver-ruby on Fedora 36

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

sudo dnf remove mapserver-ruby

mapserver-ruby Package Contents on Fedora 36

/usr/local/lib64/ruby/site_ruby/mapscript.so
/usr/share/doc/mapserver-ruby
/usr/share/doc/mapserver-ruby/README
/usr/share/doc/mapserver-ruby/examples
/usr/share/doc/mapserver-ruby/examples/shp2img.rb

References

Summary

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