How To Install golang-github-stretchr-testify-devel on Fedora 36

In this tutorial we learn how to install golang-github-stretchr-testify-devel in Fedora 36. golang-github-stretchr-testify-devel is Toolkit with common assertions and mocks

Introduction

In this tutorial we learn how to install golang-github-stretchr-testify-devel on Fedora 36.

What is golang-github-stretchr-testify-devel

Golang set of packages that provide many tools for testifying that your code will behave as you intend. Features include – Easy assertions – Mocking – Testing suite interfaces and functions This package contains the source code needed for building packages that reference the following Go import paths – github.com/stretchr/testify

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

Install golang-github-stretchr-testify-devel 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 golang-github-stretchr-testify-devel using dnf by running the following command:

sudo dnf -y install golang-github-stretchr-testify-devel

Install golang-github-stretchr-testify-devel 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 golang-github-stretchr-testify-devel using yum by running the following command:

sudo yum -y install golang-github-stretchr-testify-devel

How To Uninstall golang-github-stretchr-testify-devel on Fedora 36

To uninstall only the golang-github-stretchr-testify-devel package we can use the following command:

sudo dnf remove golang-github-stretchr-testify-devel

golang-github-stretchr-testify-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-stretchr-testify-devel
/usr/share/doc/golang-github-stretchr-testify-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/stretchr
/usr/share/gocode/src/github.com/stretchr/testify
/usr/share/gocode/src/github.com/stretchr/testify/.goipath
/usr/share/gocode/src/github.com/stretchr/testify/CONTRIBUTING.md
/usr/share/gocode/src/github.com/stretchr/testify/MAINTAINERS.md
/usr/share/gocode/src/github.com/stretchr/testify/README.md
/usr/share/gocode/src/github.com/stretchr/testify/assert
/usr/share/gocode/src/github.com/stretchr/testify/assert/assertion_compare.go
/usr/share/gocode/src/github.com/stretchr/testify/assert/assertion_compare_test.go
/usr/share/gocode/src/github.com/stretchr/testify/assert/assertion_format.go
/usr/share/gocode/src/github.com/stretchr/testify/assert/assertion_forward.go
/usr/share/gocode/src/github.com/stretchr/testify/assert/assertion_order.go
/usr/share/gocode/src/github.com/stretchr/testify/assert/assertion_order_test.go
/usr/share/gocode/src/github.com/stretchr/testify/assert/assertions.go
/usr/share/gocode/src/github.com/stretchr/testify/assert/assertions_test.go
/usr/share/gocode/src/github.com/stretchr/testify/assert/doc.go
/usr/share/gocode/src/github.com/stretchr/testify/assert/errors.go
/usr/share/gocode/src/github.com/stretchr/testify/assert/forward_assertions.go
/usr/share/gocode/src/github.com/stretchr/testify/assert/forward_assertions_test.go
/usr/share/gocode/src/github.com/stretchr/testify/assert/http_assertions.go
/usr/share/gocode/src/github.com/stretchr/testify/assert/http_assertions_test.go
/usr/share/gocode/src/github.com/stretchr/testify/doc.go
/usr/share/gocode/src/github.com/stretchr/testify/go.mod
/usr/share/gocode/src/github.com/stretchr/testify/http
/usr/share/gocode/src/github.com/stretchr/testify/http/doc.go
/usr/share/gocode/src/github.com/stretchr/testify/http/test_response_writer.go
/usr/share/gocode/src/github.com/stretchr/testify/http/test_round_tripper.go
/usr/share/gocode/src/github.com/stretchr/testify/mock
/usr/share/gocode/src/github.com/stretchr/testify/mock/doc.go
/usr/share/gocode/src/github.com/stretchr/testify/mock/mock.go
/usr/share/gocode/src/github.com/stretchr/testify/mock/mock_test.go
/usr/share/gocode/src/github.com/stretchr/testify/package_test.go
/usr/share/gocode/src/github.com/stretchr/testify/require
/usr/share/gocode/src/github.com/stretchr/testify/require/doc.go
/usr/share/gocode/src/github.com/stretchr/testify/require/forward_requirements.go
/usr/share/gocode/src/github.com/stretchr/testify/require/forward_requirements_test.go
/usr/share/gocode/src/github.com/stretchr/testify/require/require.go
/usr/share/gocode/src/github.com/stretchr/testify/require/require_forward.go
/usr/share/gocode/src/github.com/stretchr/testify/require/requirements.go
/usr/share/gocode/src/github.com/stretchr/testify/require/requirements_test.go
/usr/share/gocode/src/github.com/stretchr/testify/suite
/usr/share/gocode/src/github.com/stretchr/testify/suite/doc.go
/usr/share/gocode/src/github.com/stretchr/testify/suite/interfaces.go
/usr/share/gocode/src/github.com/stretchr/testify/suite/stats.go
/usr/share/gocode/src/github.com/stretchr/testify/suite/stats_test.go
/usr/share/gocode/src/github.com/stretchr/testify/suite/suite.go
/usr/share/gocode/src/github.com/stretchr/testify/suite/suite_test.go
/usr/share/licenses/golang-github-stretchr-testify-devel
/usr/share/licenses/golang-github-stretchr-testify-devel/LICENSE

References

Summary

In this tutorial we learn how to install golang-github-stretchr-testify-devel on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).