How To Install golang-github-jmoiron-sqlx-devel on Fedora 36

In this tutorial we learn how to install golang-github-jmoiron-sqlx-devel in Fedora 36. golang-github-jmoiron-sqlx-devel is General purpose extensions to Golang’s database/sql

Introduction

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

What is golang-github-jmoiron-sqlx-devel

Sqlx is a library which provides a set of extensions on Go’s standard database/sql library. The sqlx versions of sql.DB, sql.TX, sql.Stmt, et al. all leave the underlying interfaces untouched, so that their interfaces are a superset on the standard ones. This makes it relatively painless to integrate existing codebases using database/sql with sqlx. This package contains the source code needed for building packages that reference the following Go import paths – github.com/jmoiron/sqlx

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

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

sudo dnf -y install golang-github-jmoiron-sqlx-devel

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

sudo yum -y install golang-github-jmoiron-sqlx-devel

How To Uninstall golang-github-jmoiron-sqlx-devel on Fedora 36

To uninstall only the golang-github-jmoiron-sqlx-devel package we can use the following command:

sudo dnf remove golang-github-jmoiron-sqlx-devel

golang-github-jmoiron-sqlx-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-jmoiron-sqlx-devel
/usr/share/doc/golang-github-jmoiron-sqlx-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/jmoiron
/usr/share/gocode/src/github.com/jmoiron/sqlx
/usr/share/gocode/src/github.com/jmoiron/sqlx/.goipath
/usr/share/gocode/src/github.com/jmoiron/sqlx/README.md
/usr/share/gocode/src/github.com/jmoiron/sqlx/bind.go
/usr/share/gocode/src/github.com/jmoiron/sqlx/doc.go
/usr/share/gocode/src/github.com/jmoiron/sqlx/go.mod
/usr/share/gocode/src/github.com/jmoiron/sqlx/named.go
/usr/share/gocode/src/github.com/jmoiron/sqlx/named_context.go
/usr/share/gocode/src/github.com/jmoiron/sqlx/named_context_test.go
/usr/share/gocode/src/github.com/jmoiron/sqlx/named_test.go
/usr/share/gocode/src/github.com/jmoiron/sqlx/reflectx
/usr/share/gocode/src/github.com/jmoiron/sqlx/reflectx/README.md
/usr/share/gocode/src/github.com/jmoiron/sqlx/reflectx/reflect.go
/usr/share/gocode/src/github.com/jmoiron/sqlx/reflectx/reflect_test.go
/usr/share/gocode/src/github.com/jmoiron/sqlx/sqlx.go
/usr/share/gocode/src/github.com/jmoiron/sqlx/sqlx_context.go
/usr/share/gocode/src/github.com/jmoiron/sqlx/sqlx_context_test.go
/usr/share/gocode/src/github.com/jmoiron/sqlx/sqlx_test.go
/usr/share/gocode/src/github.com/jmoiron/sqlx/types
/usr/share/gocode/src/github.com/jmoiron/sqlx/types/README.md
/usr/share/gocode/src/github.com/jmoiron/sqlx/types/types.go
/usr/share/gocode/src/github.com/jmoiron/sqlx/types/types_test.go
/usr/share/licenses/golang-github-jmoiron-sqlx-devel
/usr/share/licenses/golang-github-jmoiron-sqlx-devel/LICENSE

References

Summary

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