How To Install mona on Fedora 34

mona is A decision procedure for the WS1S and WS2S logics

Introduction

In this tutorial we learn how to install mona on Fedora 34.

What is mona

MONA is a tool that translates formulas in the logics WS1S or WS2S into finite-state automata represented by BDDs. The formulas may express search patterns, temporal properties of reactive systems, parse tree constraints, etc. MONA also analyses the automaton resulting from the compilation, and determines whether the formula is valid and, if the formula is not valid, generates a counterexample.

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

Install mona on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install mona using dnf by running the following command:

sudo dnf -y install mona

Install mona on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install mona using yum by running the following command:

sudo yum -y install mona

How To Uninstall mona on Fedora 34

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

sudo dnf remove mona

mona Package Contents on Fedora 34

/usr/bin/dfa2dot
/usr/bin/gta2dot
/usr/bin/mona
/usr/lib/.build-id
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/68da99e72d1ae2136fbf5af38f909c988ec442
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/8f0a5ce2147070f19608be8581fd389c1fe75c
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/77a79c78f2ab01f1fb70395020dc4b37ab53b6
/usr/share/doc/mona
/usr/share/doc/mona/mona14.pdf
/usr/share/man/man1/mona.1.gz

References

Summary

In this tutorial we learn how to install mona on Fedora 34 using yum and dnf.