How To Install golang-gopkg-ldap-2-devel on Fedora 36

In this tutorial we learn how to install golang-gopkg-ldap-2-devel in Fedora 36. golang-gopkg-ldap-2-devel is Basic ldap v3 functionality for the Go programming language

Introduction

In this tutorial we learn how to install golang-gopkg-ldap-2-devel on Fedora 36.

What is golang-gopkg-ldap-2-devel

Basic ldap v3 functionality for the Go programming language. This package contains the source code needed for building packages that reference the following Go import paths – gopkg.in/ldap.v2

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

Install golang-gopkg-ldap-2-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-gopkg-ldap-2-devel using dnf by running the following command:

sudo dnf -y install golang-gopkg-ldap-2-devel

Install golang-gopkg-ldap-2-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-gopkg-ldap-2-devel using yum by running the following command:

sudo yum -y install golang-gopkg-ldap-2-devel

How To Uninstall golang-gopkg-ldap-2-devel on Fedora 36

To uninstall only the golang-gopkg-ldap-2-devel package we can use the following command:

sudo dnf remove golang-gopkg-ldap-2-devel

golang-gopkg-ldap-2-devel Package Contents on Fedora 36

/usr/share/doc/golang-gopkg-ldap-2-devel
/usr/share/doc/golang-gopkg-ldap-2-devel/README.md
/usr/share/gocode/src/gopkg.in
/usr/share/gocode/src/gopkg.in/ldap.v2
/usr/share/gocode/src/gopkg.in/ldap.v2/.goipath
/usr/share/gocode/src/gopkg.in/ldap.v2/README.md
/usr/share/gocode/src/gopkg.in/ldap.v2/add.go
/usr/share/gocode/src/gopkg.in/ldap.v2/atomic_value.go
/usr/share/gocode/src/gopkg.in/ldap.v2/atomic_value_go13.go
/usr/share/gocode/src/gopkg.in/ldap.v2/bind.go
/usr/share/gocode/src/gopkg.in/ldap.v2/client.go
/usr/share/gocode/src/gopkg.in/ldap.v2/compare.go
/usr/share/gocode/src/gopkg.in/ldap.v2/conn.go
/usr/share/gocode/src/gopkg.in/ldap.v2/conn_test.go
/usr/share/gocode/src/gopkg.in/ldap.v2/control.go
/usr/share/gocode/src/gopkg.in/ldap.v2/control_test.go
/usr/share/gocode/src/gopkg.in/ldap.v2/debug.go
/usr/share/gocode/src/gopkg.in/ldap.v2/del.go
/usr/share/gocode/src/gopkg.in/ldap.v2/dn.go
/usr/share/gocode/src/gopkg.in/ldap.v2/dn_test.go
/usr/share/gocode/src/gopkg.in/ldap.v2/doc.go
/usr/share/gocode/src/gopkg.in/ldap.v2/error.go
/usr/share/gocode/src/gopkg.in/ldap.v2/error_test.go
/usr/share/gocode/src/gopkg.in/ldap.v2/example_test.go
/usr/share/gocode/src/gopkg.in/ldap.v2/filter.go
/usr/share/gocode/src/gopkg.in/ldap.v2/filter_test.go
/usr/share/gocode/src/gopkg.in/ldap.v2/ldap.go
/usr/share/gocode/src/gopkg.in/ldap.v2/ldap_test.go
/usr/share/gocode/src/gopkg.in/ldap.v2/modify.go
/usr/share/gocode/src/gopkg.in/ldap.v2/passwdmodify.go
/usr/share/gocode/src/gopkg.in/ldap.v2/search.go
/usr/share/gocode/src/gopkg.in/ldap.v2/search_test.go
/usr/share/licenses/golang-gopkg-ldap-2-devel
/usr/share/licenses/golang-gopkg-ldap-2-devel/LICENSE

References

Summary

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