How To Install libatf-sh on Fedora 36
Introduction
In this tutorial we learn how to install libatf-sh
on Fedora 36.
What is libatf-sh
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 POSIX shell bindings.
We can use yum
or dnf
to install libatf-sh
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libatf-sh.
Install libatf-sh 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-sh
using dnf
by running the following command:
sudo dnf -y install libatf-sh
Install libatf-sh 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-sh
using yum
by running the following command:
sudo yum -y install libatf-sh
How To Uninstall libatf-sh on Fedora 36
To uninstall only the libatf-sh
package we can use the following command:
sudo dnf remove libatf-sh
libatf-sh Package Contents on Fedora 36
/usr/bin/atf-sh
/usr/lib/.build-id
/usr/lib/.build-id/98
/usr/lib/.build-id/98/d1d2013dc8440a9b6dda2641a639ee47305d3e
/usr/lib/.build-id/d9/ae379e6e7cebb0a649c9e197a2c5f8613cd777
/usr/libexec/atf-check
/usr/share/atf
/usr/share/atf/libatf-sh.subr
/usr/share/man/man1/atf-sh.1.gz
References
Summary
In this tutorial we learn how to install libatf-sh
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).