How To Install kyua on Fedora 36

In this tutorial we learn how to install kyua in Fedora 36. kyua is Testing framework for infrastructure software

Introduction

In this tutorial we learn how to install kyua on Fedora 36.

What is kyua

Kyua is a testing framework for infrastructure software, originally designed to equip BSD-based operating systems with a test suite. This means that Kyua is lightweight and simple, and that Kyua integrates well with various build systems and continuous integration frameworks. Kyua features an expressive test suite definition language, a safe runtime engine for test suites and a powerful report generation engine. Kyua is for both developers and users, from the developer applying a simple fix to a library to the system administrator deploying a new release on a production machine. Kyua is able to execute test programs written with a plethora of testing libraries and languages. The library of choice is ATF, for which Kyua was originally designed, but simple, framework-less test programs and TAP-compliant test programs can also be executed through Kyua.

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

Install kyua on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install kyua

Install kyua on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install kyua

How To Uninstall kyua on Fedora 36

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

sudo dnf remove kyua

kyua Package Contents on Fedora 36

/usr/bin/kyua
/usr/lib/.build-id
/usr/lib/.build-id/49
/usr/lib/.build-id/49/5724a75f461fc5afe70640a4b2476fd62c2064
/usr/share/doc/kyua
/usr/share/doc/kyua/AUTHORS
/usr/share/doc/kyua/CONTRIBUTORS
/usr/share/doc/kyua/NEWS.md
/usr/share/doc/kyua/README.md
/usr/share/kyua
/usr/share/kyua/examples
/usr/share/kyua/examples/Kyuafile.top
/usr/share/kyua/examples/kyua.conf
/usr/share/kyua/misc
/usr/share/kyua/misc/context.html
/usr/share/kyua/misc/index.html
/usr/share/kyua/misc/report.css
/usr/share/kyua/misc/test_result.html
/usr/share/kyua/store
/usr/share/kyua/store/migrate_v1_v2.sql
/usr/share/kyua/store/migrate_v2_v3.sql
/usr/share/kyua/store/schema_v3.sql
/usr/share/licenses/kyua
/usr/share/licenses/kyua/LICENSE
/usr/share/man/man1/kyua-about.1.gz
/usr/share/man/man1/kyua-config.1.gz
/usr/share/man/man1/kyua-db-exec.1.gz
/usr/share/man/man1/kyua-db-migrate.1.gz
/usr/share/man/man1/kyua-debug.1.gz
/usr/share/man/man1/kyua-help.1.gz
/usr/share/man/man1/kyua-list.1.gz
/usr/share/man/man1/kyua-report-html.1.gz
/usr/share/man/man1/kyua-report-junit.1.gz
/usr/share/man/man1/kyua-report.1.gz
/usr/share/man/man1/kyua-test.1.gz
/usr/share/man/man1/kyua.1.gz
/usr/share/man/man5/kyua.conf.5.gz
/usr/share/man/man5/kyuafile.5.gz

References

Summary

In this tutorial we learn how to install kyua on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).