How To Install polyml on Fedora 34

polyml is Poly/ML compiler and runtime system

Introduction

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

What is polyml

Poly/ML is a full implementation of Standard ML available as open-source. This release supports the ML97 version of the language and the Standard Basis Library.

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

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

sudo dnf -y install polyml

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

sudo yum -y install polyml

How To Uninstall polyml on Fedora 34

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

sudo dnf remove polyml

polyml Package Contents on Fedora 34

/usr/bin/poly
/usr/bin/polyc
/usr/bin/polyimport
/usr/lib/.build-id
/usr/lib/.build-id/27
/usr/lib/.build-id/27/1c379f2eea94f4fc1185fa5b244feb8045a2b0
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/955c53284cbbee07b51945b434211d2e447890
/usr/lib64/libpolymain.a
/usr/lib64/libpolyml.so
/usr/lib64/pkgconfig/polyml.pc
/usr/lib64/polyml
/usr/lib64/polyml/modules
/usr/lib64/polyml/modules/IntInfAsInt
/usr/share/man/man1/poly.1.gz
/usr/share/man/man1/polyc.1.gz
/usr/share/man/man1/polyimport.1.gz
/usr/bin/poly
/usr/bin/polyc
/usr/bin/polyimport
/usr/lib/.build-id
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/5f930534c0ed5bbd47c091fde6b067610b9300
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/61abd3a767d65c7064fd5ff446b3638d8ac3de
/usr/lib64/libpolymain.a
/usr/lib64/libpolyml.so
/usr/lib64/pkgconfig/polyml.pc
/usr/lib64/polyml
/usr/lib64/polyml/modules
/usr/lib64/polyml/modules/IntInfAsInt
/usr/share/man/man1/poly.1.gz
/usr/share/man/man1/polyc.1.gz
/usr/share/man/man1/polyimport.1.gz

References

Summary

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