How To Install libmetal on Fedora 34

libmetal is An abstraction layer across user-space Linux, baremetal, and RTOS environments An abstraction layer across user-space Linux, baremetal, and RTOS environments

Introduction

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

What is libmetal

An abstraction layer across user-space Linux, baremetal, and RTOS environments. libmetal 2020.10.0 2.fc34 x86_64 40 k libmetal-2020.10.0-2.fc34.src.rpm fedora An abstraction layer across user-space Linux, baremetal, and RTOS environments https BSD An abstraction layer across user-space Linux, baremetal, and RTOS environments.

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

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

sudo dnf -y install libmetal

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

sudo yum -y install libmetal

How To Uninstall libmetal on Fedora 34

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

sudo dnf remove libmetal

libmetal Package Contents on Fedora 34

/usr/bin/test-metal-shared
/usr/lib/.build-id
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/bf85d49a5eff7f3018c605622945707e93469c
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/1888cea2f45c363ebd77c52fa47352a82d5f14
/usr/lib/libmetal.so.0
/usr/lib/libmetal.so.0.1.0
/usr/share/doc/libmetal
/usr/share/doc/libmetal/README.md
/usr/share/licenses/libmetal
/usr/share/licenses/libmetal/LICENSE.md
/usr/bin/test-metal-shared
/usr/lib/.build-id
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/cbe69417f445ec14924e4f7a02a19fc154a7fb
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/c3571c1bacad27678ca08786412cdf3399778f
/usr/lib64/libmetal.so.0
/usr/lib64/libmetal.so.0.1.0
/usr/share/doc/libmetal
/usr/share/doc/libmetal/README.md
/usr/share/licenses/libmetal
/usr/share/licenses/libmetal/LICENSE.md

References

Summary

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