How To Install golang-github-burntsushi-locker-devel on Fedora 36
Introduction
In this tutorial we learn how to install golang-github-burntsushi-locker-devel
on Fedora 36.
What is golang-github-burntsushi-locker-devel
Package Locker is a simple package to manage named ReadWrite mutexes. These appear to be especially useful for synchronizing access to session based information in web applications. The common use case is to use the package level functions, which use a package level set of locks (safe to use from multiple goroutines simultaneously). However, you may also create a new separate set of locks. All locks are implemented with read-write mutexes. To use them like a regular mutex, simply ignore the RLock/RUnlock functions. This package contains the source code needed for building packages that reference the following Go import paths – github.com/BurntSushi/locker
We can use yum
or dnf
to install golang-github-burntsushi-locker-devel
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-github-burntsushi-locker-devel.
Install golang-github-burntsushi-locker-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-burntsushi-locker-devel
using dnf
by running the following command:
sudo dnf -y install golang-github-burntsushi-locker-devel
Install golang-github-burntsushi-locker-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-burntsushi-locker-devel
using yum
by running the following command:
sudo yum -y install golang-github-burntsushi-locker-devel
How To Uninstall golang-github-burntsushi-locker-devel on Fedora 36
To uninstall only the golang-github-burntsushi-locker-devel
package we can use the following command:
sudo dnf remove golang-github-burntsushi-locker-devel
golang-github-burntsushi-locker-devel Package Contents on Fedora 36
/usr/share/doc/golang-github-burntsushi-locker-devel
/usr/share/doc/golang-github-burntsushi-locker-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/BurntSushi
/usr/share/gocode/src/github.com/BurntSushi/locker
/usr/share/gocode/src/github.com/BurntSushi/locker/.goipath
/usr/share/gocode/src/github.com/BurntSushi/locker/README.md
/usr/share/gocode/src/github.com/BurntSushi/locker/locker.go
/usr/share/licenses/golang-github-burntsushi-locker-devel
/usr/share/licenses/golang-github-burntsushi-locker-devel/UNLICENSE
References
Summary
In this tutorial we learn how to install golang-github-burntsushi-locker-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).