How To Install metis on Rocky Linux 8

In this tutorial we learn how to install metis on Rocky Linux 8. metis is Serial Graph Partitioning and Fill-reducing Matrix Ordering

Introduction

In this tutorial we learn how to install metis on Rocky Linux 8.

What is metis

METIS is a set of serial programs for partitioning graphs, partitioning finite element meshes, and producing fill reducing orderings for sparse matrices. The algorithms implemented in METIS are based on the multilevel recursive-bisection, multilevel k-way, and multi-constraint partitioning schemes developed in our lab. METIS is distributed with OpenMP support.

We can use yum or dnf to install metis on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install metis.

Install metis on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install metis

Install metis on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install metis

How To Uninstall metis on Rocky Linux 8

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

sudo dnf remove metis

metis Package Contents on Rocky Linux 8

/usr/bin/cmpfillin
/usr/bin/gpmetis
/usr/bin/graphchk
/usr/bin/m2gmetis
/usr/bin/mpmetis
/usr/bin/ndmetis
/usr/lib/.build-id
/usr/lib/.build-id/08
/usr/lib/.build-id/08/a3453fc094126c2095661c4787cfd0ba734a61
/usr/lib/.build-id/25
/usr/lib/.build-id/25/9bd3d509395ac54598e289867dc84a63587817
/usr/lib/.build-id/57
/usr/lib/.build-id/57/f9d3b8e10e07053fa4a5eb360c03c8a03be60a
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/1ab9008cd78bc6a5b63b9838d309755968d027
/usr/lib/.build-id/89
/usr/lib/.build-id/89/e8351812f31ebf1f0214d8a1120de536c805b4
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/03bc6c44f164871c41c35056a2235fd8f43c3a
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/d8d36d127cf70662786802326efd9f648b8aaa
/usr/lib/libmetis.so.0
/usr/share/doc/metis
/usr/share/doc/metis/Changelog
/usr/share/doc/metis/manual.pdf
/usr/share/licenses/metis
/usr/share/licenses/metis/LICENSE.txt
/usr/share/man/man1/gpmetis.1.gz
/usr/share/man/man1/m2gmetis.1.gz
/usr/share/man/man1/mpmetis.1.gz
/usr/share/man/man1/ndmetis.1.gz
/usr/bin/cmpfillin
/usr/bin/gpmetis
/usr/bin/graphchk
/usr/bin/m2gmetis
/usr/bin/mpmetis
/usr/bin/ndmetis
/usr/lib/.build-id
/usr/lib/.build-id/33
/usr/lib/.build-id/33/9e9d9da66bbecdf7d5d64d523f149975665a5b
/usr/lib/.build-id/66
/usr/lib/.build-id/66/4d88c9b726b63124a28d41fb34f61db592fee5
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/86f46bff0f11d77e2aa83ee6d2e3078fa4a243
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/0496fd17d63aa76d807293cf5fb958375414b8
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/45dccc96b6c780b962bdfea9335c7537d36f42
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/13a45c72f29c71e71ca93dc010329c8c074e69
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/c2e7900ff3b5b6bf2a550eb6410d0d3a899f1c
/usr/lib64/libmetis.so.0
/usr/share/doc/metis
/usr/share/doc/metis/Changelog
/usr/share/doc/metis/manual.pdf
/usr/share/licenses/metis
/usr/share/licenses/metis/LICENSE.txt
/usr/share/man/man1/gpmetis.1.gz
/usr/share/man/man1/m2gmetis.1.gz
/usr/share/man/man1/mpmetis.1.gz
/usr/share/man/man1/ndmetis.1.gz

References

Summary

In this tutorial we learn how to install metis on Rocky Linux 8 using yum and dnf.