How To Install cgreen-runner on Fedora 36
Introduction
In this tutorial we learn how to install cgreen-runner
on Fedora 36.
What is cgreen-runner
A runner for the Cgreen unit testing and mocking framework.
We can use yum
or dnf
to install cgreen-runner
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install cgreen-runner.
Install cgreen-runner 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 cgreen-runner
using dnf
by running the following command:
sudo dnf -y install cgreen-runner
Install cgreen-runner 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 cgreen-runner
using yum
by running the following command:
sudo yum -y install cgreen-runner
How To Uninstall cgreen-runner on Fedora 36
To uninstall only the cgreen-runner
package we can use the following command:
sudo dnf remove cgreen-runner
cgreen-runner Package Contents on Fedora 36
/usr/bin/cgreen-debug
/usr/bin/cgreen-runner
/usr/lib/.build-id
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/eab4722fb92d41b315ebc0f6dcbc9f29706b15
/usr/share/bash-completion/completions/cgreen-debug
/usr/share/bash-completion/completions/cgreen-runner
/usr/share/man/man1/cgreen-debug.1.gz
/usr/share/man/man1/cgreen-runner.1.gz
/usr/share/man/man5/cgreen.5.gz
References
Summary
In this tutorial we learn how to install cgreen-runner
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).