How To Install aunit on Fedora 34

aunit is Unit test framework for Ada Unit test framework for Ada

Introduction

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

What is aunit

Unit test framework for Ada aunit 2020 3.fc34 x86_64 77 k aunit-2020-3.fc34.src.rpm fedora Unit test framework for Ada http GPLv2+ Unit test framework for Ada

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

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

sudo dnf -y install aunit

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

sudo yum -y install aunit

How To Uninstall aunit on Fedora 34

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

sudo dnf remove aunit

aunit Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/7ea7ab58a7ed2b789dbecb7be2b3b50c9120b9
/usr/lib64/aunit
/usr/lib64/aunit/libaunit.so.2020
/usr/lib64/libaunit.so.2020
/usr/share/doc/aunit
/usr/share/doc/aunit/COPYING.RUNTIME
/usr/share/doc/aunit/COPYING3
/usr/share/doc/aunit/README
/usr/lib/.build-id
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/1cd9c871665a56bda1d6f4fadcd4b9e6cf8b32
/usr/lib/aunit
/usr/lib/aunit/libaunit.so.2020
/usr/lib/libaunit.so.2020
/usr/share/doc/aunit
/usr/share/doc/aunit/COPYING.RUNTIME
/usr/share/doc/aunit/COPYING3
/usr/share/doc/aunit/README

References

Summary

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