How To Install golang-github-fatih-set-devel on Fedora 36
Introduction
In this tutorial we learn how to install golang-github-fatih-set-devel
on Fedora 36.
What is golang-github-fatih-set-devel
Set is a basic and simple, hash-based, Set data structure implementation in Go. Set provides both threadsafe and non-threadsafe implementations of a generic set data structure. The thread safety encompasses all operations on one set. Operations on multiple sets are consistent in that the elements of each set used was valid at exactly one point in time between the start and the end of the operation. Because it’s thread safe, you can use it concurrently with your goroutines. This package contains the source code needed for building packages that reference the following Go import paths – github.com/fatih/set
We can use yum
or dnf
to install golang-github-fatih-set-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-github-fatih-set-devel.
Install golang-github-fatih-set-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-fatih-set-devel
using dnf
by running the following command:
sudo dnf -y install golang-github-fatih-set-devel
Install golang-github-fatih-set-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-fatih-set-devel
using yum
by running the following command:
sudo yum -y install golang-github-fatih-set-devel
How To Uninstall golang-github-fatih-set-devel on Fedora 36
To uninstall only the golang-github-fatih-set-devel
package we can use the following command:
sudo dnf remove golang-github-fatih-set-devel
golang-github-fatih-set-devel Package Contents on Fedora 36
/usr/share/doc/golang-github-fatih-set-devel
/usr/share/doc/golang-github-fatih-set-devel/README.md
/usr/share/doc/golang-github-fatih-set-devel/examples
/usr/share/doc/golang-github-fatih-set-devel/examples/add_non_thread_safe
/usr/share/doc/golang-github-fatih-set-devel/examples/add_non_thread_safe/main.go
/usr/share/doc/golang-github-fatih-set-devel/examples/add_thread_safe
/usr/share/doc/golang-github-fatih-set-devel/examples/add_thread_safe/main.go
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/fatih
/usr/share/gocode/src/github.com/fatih/set
/usr/share/gocode/src/github.com/fatih/set/.goipath
/usr/share/gocode/src/github.com/fatih/set/LICENSE.md
/usr/share/gocode/src/github.com/fatih/set/README.md
/usr/share/gocode/src/github.com/fatih/set/set.go
/usr/share/gocode/src/github.com/fatih/set/set_nots.go
/usr/share/gocode/src/github.com/fatih/set/set_nots_test.go
/usr/share/gocode/src/github.com/fatih/set/set_test.go
/usr/share/gocode/src/github.com/fatih/set/set_ts.go
/usr/share/gocode/src/github.com/fatih/set/set_ts_test.go
/usr/share/licenses/golang-github-fatih-set-devel
/usr/share/licenses/golang-github-fatih-set-devel/LICENSE.md
References
Summary
In this tutorial we learn how to install golang-github-fatih-set-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).