How To Install golang-modernc-file-devel on Fedora 36

In this tutorial we learn how to install golang-modernc-file-devel in Fedora 36. golang-modernc-file-devel is Write-ahead logs and space management of os.File-like entities

Introduction

In this tutorial we learn how to install golang-modernc-file-devel on Fedora 36.

What is golang-modernc-file-devel

Package file handles write-ahead logs and space management of os.File-like entities. This package contains the source code needed for building packages that reference the following Go import paths – modernc.org/file

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

Install golang-modernc-file-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-modernc-file-devel using dnf by running the following command:

sudo dnf -y install golang-modernc-file-devel

Install golang-modernc-file-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-modernc-file-devel using yum by running the following command:

sudo yum -y install golang-modernc-file-devel

How To Uninstall golang-modernc-file-devel on Fedora 36

To uninstall only the golang-modernc-file-devel package we can use the following command:

sudo dnf remove golang-modernc-file-devel

golang-modernc-file-devel Package Contents on Fedora 36

/usr/share/doc/golang-modernc-file-devel
/usr/share/doc/golang-modernc-file-devel/AUTHORS
/usr/share/doc/golang-modernc-file-devel/CONTRIBUTORS
/usr/share/doc/golang-modernc-file-devel/README.md
/usr/share/gocode/src/modernc.org
/usr/share/gocode/src/modernc.org/file
/usr/share/gocode/src/modernc.org/file/.goipath
/usr/share/gocode/src/modernc.org/file/README.md
/usr/share/gocode/src/modernc.org/file/all_test.go
/usr/share/gocode/src/modernc.org/file/file.go
/usr/share/gocode/src/modernc.org/file/go.mod
/usr/share/gocode/src/modernc.org/file/wal.go
/usr/share/licenses/golang-modernc-file-devel
/usr/share/licenses/golang-modernc-file-devel/LICENSE

References

Summary

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