How To Install golang-github-subosito-gotenv-devel on Fedora 36
.env
or io.Reader
in GoIntroduction
In this tutorial we learn how to install golang-github-subosito-gotenv-devel
on Fedora 36.
What is golang-github-subosito-gotenv-devel
Load environment variables from
.env
orio.Reader
in Go. This package contains the source code needed for building packages that reference the following Go import paths – github.com/subosito/gotenv
We can use yum
or dnf
to install golang-github-subosito-gotenv-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-github-subosito-gotenv-devel.
Install golang-github-subosito-gotenv-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-subosito-gotenv-devel
using dnf
by running the following command:
sudo dnf -y install golang-github-subosito-gotenv-devel
Install golang-github-subosito-gotenv-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-subosito-gotenv-devel
using yum
by running the following command:
sudo yum -y install golang-github-subosito-gotenv-devel
How To Uninstall golang-github-subosito-gotenv-devel on Fedora 36
To uninstall only the golang-github-subosito-gotenv-devel
package we can use the following command:
sudo dnf remove golang-github-subosito-gotenv-devel
golang-github-subosito-gotenv-devel Package Contents on Fedora 36
/usr/share/doc/golang-github-subosito-gotenv-devel
/usr/share/doc/golang-github-subosito-gotenv-devel/CHANGELOG.md
/usr/share/doc/golang-github-subosito-gotenv-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/subosito
/usr/share/gocode/src/github.com/subosito/gotenv
/usr/share/gocode/src/github.com/subosito/gotenv/.goipath
/usr/share/gocode/src/github.com/subosito/gotenv/CHANGELOG.md
/usr/share/gocode/src/github.com/subosito/gotenv/README.md
/usr/share/gocode/src/github.com/subosito/gotenv/gotenv.go
/usr/share/gocode/src/github.com/subosito/gotenv/gotenv_test.go
/usr/share/licenses/golang-github-subosito-gotenv-devel
/usr/share/licenses/golang-github-subosito-gotenv-devel/LICENSE
References
Summary
In this tutorial we learn how to install golang-github-subosito-gotenv-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).