How To Install cpptest on Fedora 34
Introduction
In this tutorial we learn how to install cpptest
on Fedora 34.
What is cpptest
CppTest is a portable and powerful, yet simple, unit testing framework for handling automated tests in C++. The focus lies on usability and extendability. cpptest 1.1.2 18.fc34 x86_64 112 k cpptest-1.1.2-18.fc34.src.rpm fedora A portable and powerful and simple unit testing framework for C++ http LGPLv2+ CppTest is a portable and powerful, yet simple, unit testing framework for handling automated tests in C++. The focus lies on usability and extendability.
We can use yum
or dnf
to install cpptest
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install cpptest.
Install cpptest 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 cpptest
using dnf
by running the following command:
sudo dnf -y install cpptest
Install cpptest 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 cpptest
using yum
by running the following command:
sudo yum -y install cpptest
How To Uninstall cpptest on Fedora 34
To uninstall only the cpptest
package we can use the following command:
sudo dnf remove cpptest
cpptest Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/49
/usr/lib/.build-id/49/0cf94199835aafc577b7dfc19c075a9049c767
/usr/lib64/libcpptest.so.0
/usr/lib64/libcpptest.so.0.0.7
/usr/share/doc/cpptest
/usr/share/doc/cpptest/AUTHORS
/usr/share/doc/cpptest/COPYING
/usr/share/doc/cpptest/ChangeLog
/usr/share/doc/cpptest/NEWS
/usr/share/doc/cpptest/html-example.html
/usr/share/doc/cpptest/index.html
/usr/share/doc/cpptest/screenshot-compiler.png
/usr/share/doc/cpptest/screenshot-text-terse.png
/usr/share/doc/cpptest/screenshot-text-verbose.png
/usr/lib/.build-id
/usr/lib/.build-id/af
/usr/lib/.build-id/af/cc60346a917e0cff7f2168f1d5a821273d12f3
/usr/lib/libcpptest.so.0
/usr/lib/libcpptest.so.0.0.7
/usr/share/doc/cpptest
/usr/share/doc/cpptest/AUTHORS
/usr/share/doc/cpptest/COPYING
/usr/share/doc/cpptest/ChangeLog
/usr/share/doc/cpptest/NEWS
/usr/share/doc/cpptest/html-example.html
/usr/share/doc/cpptest/index.html
/usr/share/doc/cpptest/screenshot-compiler.png
/usr/share/doc/cpptest/screenshot-text-terse.png
/usr/share/doc/cpptest/screenshot-text-verbose.png
References
- [cpptest website](http://cpptest.sourceforge.net/ http://cpptest.sourceforge.net/)
Summary
In this tutorial we learn how to install cpptest
on Fedora 34 using yum and dnf.