How To Install erlang-mnesia on Rocky Linux 8

In this tutorial we learn how to install erlang-mnesia on Rocky Linux 8. erlang-mnesia is A heavy duty real-time distributed database

Introduction

In this tutorial we learn how to install erlang-mnesia on Rocky Linux 8.

What is erlang-mnesia

A heavy duty real-time distributed database.

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

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

sudo dnf -y install erlang-mnesia

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

sudo yum -y install erlang-mnesia

How To Uninstall erlang-mnesia on Rocky Linux 8

To uninstall only the erlang-mnesia package we can use the following command:

sudo dnf remove erlang-mnesia

erlang-mnesia Package Contents on Rocky Linux 8

/usr/lib64/erlang/lib/mnesia-4.16
/usr/lib64/erlang/lib/mnesia-4.16/ebin
/usr/lib64/erlang/lib/mnesia-4.16/ebin/mnesia.app
/usr/lib64/erlang/lib/mnesia-4.16/ebin/mnesia.appup
/usr/lib64/erlang/lib/mnesia-4.16/ebin/mnesia.beam
/usr/lib64/erlang/lib/mnesia-4.16/ebin/mnesia_app.beam
/usr/lib64/erlang/lib/mnesia-4.16/ebin/mnesia_backend_type.beam
/usr/lib64/erlang/lib/mnesia-4.16/ebin/mnesia_backup.beam
/usr/lib64/erlang/lib/mnesia-4.16/ebin/mnesia_bup.beam
/usr/lib64/erlang/lib/mnesia-4.16/ebin/mnesia_checkpoint.beam
/usr/lib64/erlang/lib/mnesia-4.16/ebin/mnesia_checkpoint_sup.beam
/usr/lib64/erlang/lib/mnesia-4.16/ebin/mnesia_controller.beam
/usr/lib64/erlang/lib/mnesia-4.16/ebin/mnesia_dumper.beam
/usr/lib64/erlang/lib/mnesia-4.16/ebin/mnesia_event.beam
/usr/lib64/erlang/lib/mnesia-4.16/ebin/mnesia_ext_sup.beam
/usr/lib64/erlang/lib/mnesia-4.16/ebin/mnesia_frag.beam
/usr/lib64/erlang/lib/mnesia-4.16/ebin/mnesia_frag_hash.beam
/usr/lib64/erlang/lib/mnesia-4.16/ebin/mnesia_index.beam
/usr/lib64/erlang/lib/mnesia-4.16/ebin/mnesia_kernel_sup.beam
/usr/lib64/erlang/lib/mnesia-4.16/ebin/mnesia_late_loader.beam
/usr/lib64/erlang/lib/mnesia-4.16/ebin/mnesia_lib.beam
/usr/lib64/erlang/lib/mnesia-4.16/ebin/mnesia_loader.beam
/usr/lib64/erlang/lib/mnesia-4.16/ebin/mnesia_locker.beam
/usr/lib64/erlang/lib/mnesia-4.16/ebin/mnesia_log.beam
/usr/lib64/erlang/lib/mnesia-4.16/ebin/mnesia_monitor.beam
/usr/lib64/erlang/lib/mnesia-4.16/ebin/mnesia_recover.beam
/usr/lib64/erlang/lib/mnesia-4.16/ebin/mnesia_registry.beam
/usr/lib64/erlang/lib/mnesia-4.16/ebin/mnesia_schema.beam
/usr/lib64/erlang/lib/mnesia-4.16/ebin/mnesia_snmp_hook.beam
/usr/lib64/erlang/lib/mnesia-4.16/ebin/mnesia_sp.beam
/usr/lib64/erlang/lib/mnesia-4.16/ebin/mnesia_subscr.beam
/usr/lib64/erlang/lib/mnesia-4.16/ebin/mnesia_sup.beam
/usr/lib64/erlang/lib/mnesia-4.16/ebin/mnesia_text.beam
/usr/lib64/erlang/lib/mnesia-4.16/ebin/mnesia_tm.beam
/usr/lib64/erlang/lib/mnesia-4.16/src
/usr/lib64/erlang/lib/mnesia-4.16/src/mnesia.hrl

References

Summary

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