How To Install golang-github-sql-driver-mysql-devel on Fedora 36

In this tutorial we learn how to install golang-github-sql-driver-mysql-devel in Fedora 36. golang-github-sql-driver-mysql-devel is MySQL driver for Go’s database/sql package

Introduction

In this tutorial we learn how to install golang-github-sql-driver-mysql-devel on Fedora 36.

What is golang-github-sql-driver-mysql-devel

A MySQL-Driver for Go’s database/sql package. This package contains the source code needed for building packages that reference the following Go import paths – github.com/go-sql-driver/mysql

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

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

sudo dnf -y install golang-github-sql-driver-mysql-devel

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

sudo yum -y install golang-github-sql-driver-mysql-devel

How To Uninstall golang-github-sql-driver-mysql-devel on Fedora 36

To uninstall only the golang-github-sql-driver-mysql-devel package we can use the following command:

sudo dnf remove golang-github-sql-driver-mysql-devel

golang-github-sql-driver-mysql-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-sql-driver-mysql-devel
/usr/share/doc/golang-github-sql-driver-mysql-devel/AUTHORS
/usr/share/doc/golang-github-sql-driver-mysql-devel/CHANGELOG.md
/usr/share/doc/golang-github-sql-driver-mysql-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/go-sql-driver
/usr/share/gocode/src/github.com/go-sql-driver/mysql
/usr/share/gocode/src/github.com/go-sql-driver/mysql/.goipath
/usr/share/gocode/src/github.com/go-sql-driver/mysql/CHANGELOG.md
/usr/share/gocode/src/github.com/go-sql-driver/mysql/README.md
/usr/share/gocode/src/github.com/go-sql-driver/mysql/auth.go
/usr/share/gocode/src/github.com/go-sql-driver/mysql/auth_test.go
/usr/share/gocode/src/github.com/go-sql-driver/mysql/benchmark_test.go
/usr/share/gocode/src/github.com/go-sql-driver/mysql/buffer.go
/usr/share/gocode/src/github.com/go-sql-driver/mysql/collations.go
/usr/share/gocode/src/github.com/go-sql-driver/mysql/conncheck.go
/usr/share/gocode/src/github.com/go-sql-driver/mysql/conncheck_dummy.go
/usr/share/gocode/src/github.com/go-sql-driver/mysql/conncheck_test.go
/usr/share/gocode/src/github.com/go-sql-driver/mysql/connection.go
/usr/share/gocode/src/github.com/go-sql-driver/mysql/connection_test.go
/usr/share/gocode/src/github.com/go-sql-driver/mysql/connector.go
/usr/share/gocode/src/github.com/go-sql-driver/mysql/connector_test.go
/usr/share/gocode/src/github.com/go-sql-driver/mysql/const.go
/usr/share/gocode/src/github.com/go-sql-driver/mysql/driver.go
/usr/share/gocode/src/github.com/go-sql-driver/mysql/driver_test.go
/usr/share/gocode/src/github.com/go-sql-driver/mysql/dsn.go
/usr/share/gocode/src/github.com/go-sql-driver/mysql/dsn_test.go
/usr/share/gocode/src/github.com/go-sql-driver/mysql/errors.go
/usr/share/gocode/src/github.com/go-sql-driver/mysql/errors_test.go
/usr/share/gocode/src/github.com/go-sql-driver/mysql/fields.go
/usr/share/gocode/src/github.com/go-sql-driver/mysql/glide.lock
/usr/share/gocode/src/github.com/go-sql-driver/mysql/glide.yaml
/usr/share/gocode/src/github.com/go-sql-driver/mysql/go.mod
/usr/share/gocode/src/github.com/go-sql-driver/mysql/infile.go
/usr/share/gocode/src/github.com/go-sql-driver/mysql/nulltime.go
/usr/share/gocode/src/github.com/go-sql-driver/mysql/nulltime_go113.go
/usr/share/gocode/src/github.com/go-sql-driver/mysql/nulltime_legacy.go
/usr/share/gocode/src/github.com/go-sql-driver/mysql/nulltime_test.go
/usr/share/gocode/src/github.com/go-sql-driver/mysql/packets.go
/usr/share/gocode/src/github.com/go-sql-driver/mysql/packets_test.go
/usr/share/gocode/src/github.com/go-sql-driver/mysql/result.go
/usr/share/gocode/src/github.com/go-sql-driver/mysql/rows.go
/usr/share/gocode/src/github.com/go-sql-driver/mysql/statement.go
/usr/share/gocode/src/github.com/go-sql-driver/mysql/statement_test.go
/usr/share/gocode/src/github.com/go-sql-driver/mysql/transaction.go
/usr/share/gocode/src/github.com/go-sql-driver/mysql/utils.go
/usr/share/gocode/src/github.com/go-sql-driver/mysql/utils_test.go
/usr/share/licenses/golang-github-sql-driver-mysql-devel
/usr/share/licenses/golang-github-sql-driver-mysql-devel/LICENSE

References

Summary

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