How To Install libatf-c on Fedora 36

In this tutorial we learn how to install libatf-c in Fedora 36. libatf-c is Automated Testing Framework - C bindings

Introduction

In this tutorial we learn how to install libatf-c on Fedora 36.

What is libatf-c

The Automated Testing Framework (ATF) is a collection of libraries to implement test programs in a variety of languages. At the moment, ATF offers C, C++ and POSIX shell bindings with which to implement tests. These bindings all offer a similar set of functionality and any test program written with them exposes a consistent user interface. ATF-based test programs rely on a separate runtime engine to execute them. The runtime engine is in charge of isolating the test programs from the rest of the system to ensure that their results are deterministic and that they cannot affect the running system. The runtime engine is also responsible for gathering the results of all tests and composing reports. The current runtime of choice is Kyua. This package provides the run-time libraries to run tests that use the ATF C bindings.

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

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

sudo dnf -y install libatf-c

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

sudo yum -y install libatf-c

How To Uninstall libatf-c on Fedora 36

To uninstall only the libatf-c package we can use the following command:

sudo dnf remove libatf-c

libatf-c Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/78
/usr/lib/.build-id/78/f1f3b77a1b505fd863618d297ff61b259c4161
/usr/lib64/libatf-c.so.0
/usr/lib64/libatf-c.so.0.0.0
/usr/share/man/man1/atf-test-program.1.gz
/usr/share/man/man4/atf-test-case.4.gz

References

Summary

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


title: “How To Install libatf-c on Fedora 36” linkTitle: “libatf-c” type: “docs” description: “In this tutorial we learn how to install libatf-c in Fedora 36. libatf-c is Automated Testing Framework - C bindings” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/libatf-c-featured.png

Introduction

In this tutorial we learn how to install libatf-c on Fedora 36.

What is libatf-c

The Automated Testing Framework (ATF) is a collection of libraries to implement test programs in a variety of languages. At the moment, ATF offers C, C++ and POSIX shell bindings with which to implement tests. These bindings all offer a similar set of functionality and any test program written with them exposes a consistent user interface. ATF-based test programs rely on a separate runtime engine to execute them. The runtime engine is in charge of isolating the test programs from the rest of the system to ensure that their results are deterministic and that they cannot affect the running system. The runtime engine is also responsible for gathering the results of all tests and composing reports. The current runtime of choice is Kyua. This package provides the run-time libraries to run tests that use the ATF C bindings.

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

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

sudo dnf -y install libatf-c

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

sudo yum -y install libatf-c

How To Uninstall libatf-c on Fedora 36

To uninstall only the libatf-c package we can use the following command:

sudo dnf remove libatf-c

libatf-c Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/62c5a66fd887ff1cfe78956f571902e2a35ee4
/usr/lib/libatf-c.so.0
/usr/lib/libatf-c.so.0.0.0
/usr/share/man/man1/atf-test-program.1.gz
/usr/share/man/man4/atf-test-case.4.gz

References

Summary

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