How To Install golang-github-pressly-goose on Fedora 36

In this tutorial we learn how to install golang-github-pressly-goose in Fedora 36. golang-github-pressly-goose is Goose database migration tool

Introduction

In this tutorial we learn how to install golang-github-pressly-goose on Fedora 36.

What is golang-github-pressly-goose

Goose database migration tool - fork of https

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

Install golang-github-pressly-goose 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-pressly-goose using dnf by running the following command:

sudo dnf -y install golang-github-pressly-goose

Install golang-github-pressly-goose 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-pressly-goose using yum by running the following command:

sudo yum -y install golang-github-pressly-goose

How To Uninstall golang-github-pressly-goose on Fedora 36

To uninstall only the golang-github-pressly-goose package we can use the following command:

sudo dnf remove golang-github-pressly-goose

golang-github-pressly-goose Package Contents on Fedora 36

/usr/bin/goose
/usr/lib/.build-id
/usr/lib/.build-id/1e
/usr/lib/.build-id/1e/ea63a308f9518120a4ac3f83f06c183a14ef29
/usr/share/doc/golang-github-pressly-goose
/usr/share/doc/golang-github-pressly-goose/README.md
/usr/share/doc/golang-github-pressly-goose/examples
/usr/share/doc/golang-github-pressly-goose/examples/README.md
/usr/share/doc/golang-github-pressly-goose/examples/go-migrations
/usr/share/doc/golang-github-pressly-goose/examples/go-migrations/00001_create_users_table.sql
/usr/share/doc/golang-github-pressly-goose/examples/go-migrations/00002_rename_root.go
/usr/share/doc/golang-github-pressly-goose/examples/go-migrations/README.md
/usr/share/doc/golang-github-pressly-goose/examples/go-migrations/foo.db
/usr/share/doc/golang-github-pressly-goose/examples/go-migrations/main.go
/usr/share/doc/golang-github-pressly-goose/examples/sql-migrations
/usr/share/doc/golang-github-pressly-goose/examples/sql-migrations/00001_create_users_table.sql
/usr/share/doc/golang-github-pressly-goose/examples/sql-migrations/00002_rename_root.sql
/usr/share/doc/golang-github-pressly-goose/examples/sql-migrations/00003_no_transaction.sql
/usr/share/doc/golang-github-pressly-goose/examples/sql-migrations/README.md
/usr/share/licenses/golang-github-pressly-goose
/usr/share/licenses/golang-github-pressly-goose/LICENSE

References

Summary

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