How To Install minimock on Fedora 36
Introduction
In this tutorial we learn how to install minimock
on Fedora 36.
What is minimock
Powerful mock generation tool for Go programming language.
We can use yum
or dnf
to install minimock
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install minimock.
Install minimock 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 minimock
using dnf
by running the following command:
sudo dnf -y install minimock
Install minimock 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 minimock
using yum
by running the following command:
sudo yum -y install minimock
How To Uninstall minimock on Fedora 36
To uninstall only the minimock
package we can use the following command:
sudo dnf remove minimock
minimock Package Contents on Fedora 36
/usr/bin/minimock
/usr/lib/.build-id
/usr/lib/.build-id/55
/usr/lib/.build-id/55/d164a0e7a709ee09eb611ea8a37b3f0bf2fc59
/usr/share/doc/minimock
/usr/share/doc/minimock/README.md
/usr/share/licenses/minimock
/usr/share/licenses/minimock/LICENSE
References
Summary
In this tutorial we learn how to install minimock
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).