How To Install golang-github-spf13-afero-devel on Fedora 36

In this tutorial we learn how to install golang-github-spf13-afero-devel in Fedora 36. golang-github-spf13-afero-devel is FileSystem Abstraction System for Go

Introduction

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

What is golang-github-spf13-afero-devel

Afero is an filesystem framework providing a simple, uniform and universal API interacting with any filesystem, as an abstraction layer providing interfaces, types and methods. Afero has an exceptionally clean interface and simple design without needless constructors or initialization methods. Afero is also a library providing a base set of interoperable backend filesystems that make it easy to work with afero while retaining all the power and benefit of the os and ioutil packages. Afero provides significant improvements over using the os package alone, most notably the ability to create mock and testing filesystems without relying on the disk. It is suitable for use in a any situation where you would consider using the OS package as it provides an additional abstraction that makes it easy to use a memory backed file system during testing. It also adds support for the http filesystem for full interoperability. This package contains the source code needed for building packages that reference the following Go import paths – github.com/spf13/afero

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

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

sudo dnf -y install golang-github-spf13-afero-devel

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

sudo yum -y install golang-github-spf13-afero-devel

How To Uninstall golang-github-spf13-afero-devel on Fedora 36

To uninstall only the golang-github-spf13-afero-devel package we can use the following command:

sudo dnf remove golang-github-spf13-afero-devel

golang-github-spf13-afero-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-spf13-afero-devel
/usr/share/doc/golang-github-spf13-afero-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/spf13
/usr/share/gocode/src/github.com/spf13/afero
/usr/share/gocode/src/github.com/spf13/afero/.goipath
/usr/share/gocode/src/github.com/spf13/afero/README.md
/usr/share/gocode/src/github.com/spf13/afero/afero.go
/usr/share/gocode/src/github.com/spf13/afero/afero_test.go
/usr/share/gocode/src/github.com/spf13/afero/basepath.go
/usr/share/gocode/src/github.com/spf13/afero/basepath_test.go
/usr/share/gocode/src/github.com/spf13/afero/cacheOnReadFs.go
/usr/share/gocode/src/github.com/spf13/afero/composite_test.go
/usr/share/gocode/src/github.com/spf13/afero/const_bsds.go
/usr/share/gocode/src/github.com/spf13/afero/const_win_unix.go
/usr/share/gocode/src/github.com/spf13/afero/copyOnWriteFs.go
/usr/share/gocode/src/github.com/spf13/afero/copyOnWriteFs_test.go
/usr/share/gocode/src/github.com/spf13/afero/go.mod
/usr/share/gocode/src/github.com/spf13/afero/httpFs.go
/usr/share/gocode/src/github.com/spf13/afero/ioutil.go
/usr/share/gocode/src/github.com/spf13/afero/ioutil_test.go
/usr/share/gocode/src/github.com/spf13/afero/lstater.go
/usr/share/gocode/src/github.com/spf13/afero/lstater_test.go
/usr/share/gocode/src/github.com/spf13/afero/match.go
/usr/share/gocode/src/github.com/spf13/afero/match_test.go
/usr/share/gocode/src/github.com/spf13/afero/mem
/usr/share/gocode/src/github.com/spf13/afero/mem/dir.go
/usr/share/gocode/src/github.com/spf13/afero/mem/dirmap.go
/usr/share/gocode/src/github.com/spf13/afero/mem/file.go
/usr/share/gocode/src/github.com/spf13/afero/mem/file_test.go
/usr/share/gocode/src/github.com/spf13/afero/memmap.go
/usr/share/gocode/src/github.com/spf13/afero/memmap_test.go
/usr/share/gocode/src/github.com/spf13/afero/os.go
/usr/share/gocode/src/github.com/spf13/afero/path.go
/usr/share/gocode/src/github.com/spf13/afero/path_test.go
/usr/share/gocode/src/github.com/spf13/afero/readonlyfs.go
/usr/share/gocode/src/github.com/spf13/afero/regexpfs.go
/usr/share/gocode/src/github.com/spf13/afero/ro_regexp_test.go
/usr/share/gocode/src/github.com/spf13/afero/sftpfs
/usr/share/gocode/src/github.com/spf13/afero/sftpfs/file.go
/usr/share/gocode/src/github.com/spf13/afero/sftpfs/sftp.go
/usr/share/gocode/src/github.com/spf13/afero/sftpfs/sftp_test.go
/usr/share/gocode/src/github.com/spf13/afero/symlink.go
/usr/share/gocode/src/github.com/spf13/afero/symlink_test.go
/usr/share/gocode/src/github.com/spf13/afero/tarfs
/usr/share/gocode/src/github.com/spf13/afero/tarfs/file.go
/usr/share/gocode/src/github.com/spf13/afero/tarfs/fs.go
/usr/share/gocode/src/github.com/spf13/afero/tarfs/tarfs_test.go
/usr/share/gocode/src/github.com/spf13/afero/unionFile.go
/usr/share/gocode/src/github.com/spf13/afero/util.go
/usr/share/gocode/src/github.com/spf13/afero/util_test.go
/usr/share/gocode/src/github.com/spf13/afero/zipfs
/usr/share/gocode/src/github.com/spf13/afero/zipfs/file.go
/usr/share/gocode/src/github.com/spf13/afero/zipfs/file_test.go
/usr/share/gocode/src/github.com/spf13/afero/zipfs/fs.go
/usr/share/gocode/src/github.com/spf13/afero/zipfs/zipfs_test.go
/usr/share/licenses/golang-github-spf13-afero-devel
/usr/share/licenses/golang-github-spf13-afero-devel/LICENSE.txt

References

Summary

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