How To Install golang-x-sync-devel on Fedora 36

In this tutorial we learn how to install golang-x-sync-devel in Fedora 36. golang-x-sync-devel is Go concurrency primitives

Introduction

In this tutorial we learn how to install golang-x-sync-devel on Fedora 36.

What is golang-x-sync-devel

This package provides Go concurrency primitives in addition to the ones provided by the language and “sync” and “sync/atomic” packages. This package contains the source code needed for building packages that reference the following Go import paths – golang.org/x/sync

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

Install golang-x-sync-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-x-sync-devel using dnf by running the following command:

sudo dnf -y install golang-x-sync-devel

Install golang-x-sync-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-x-sync-devel using yum by running the following command:

sudo yum -y install golang-x-sync-devel

How To Uninstall golang-x-sync-devel on Fedora 36

To uninstall only the golang-x-sync-devel package we can use the following command:

sudo dnf remove golang-x-sync-devel

golang-x-sync-devel Package Contents on Fedora 36

/usr/share/doc/golang-x-sync-devel
/usr/share/doc/golang-x-sync-devel/AUTHORS
/usr/share/doc/golang-x-sync-devel/CONTRIBUTING.md
/usr/share/doc/golang-x-sync-devel/CONTRIBUTORS
/usr/share/doc/golang-x-sync-devel/README.md
/usr/share/gocode/src/golang.org
/usr/share/gocode/src/golang.org/x
/usr/share/gocode/src/golang.org/x/sync
/usr/share/gocode/src/golang.org/x/sync/.goipath
/usr/share/gocode/src/golang.org/x/sync/CONTRIBUTING.md
/usr/share/gocode/src/golang.org/x/sync/README.md
/usr/share/gocode/src/golang.org/x/sync/errgroup
/usr/share/gocode/src/golang.org/x/sync/errgroup/errgroup.go
/usr/share/gocode/src/golang.org/x/sync/errgroup/errgroup_example_md5all_test.go
/usr/share/gocode/src/golang.org/x/sync/errgroup/errgroup_test.go
/usr/share/gocode/src/golang.org/x/sync/go.mod
/usr/share/gocode/src/golang.org/x/sync/semaphore
/usr/share/gocode/src/golang.org/x/sync/semaphore/semaphore.go
/usr/share/gocode/src/golang.org/x/sync/semaphore/semaphore_bench_test.go
/usr/share/gocode/src/golang.org/x/sync/semaphore/semaphore_example_test.go
/usr/share/gocode/src/golang.org/x/sync/semaphore/semaphore_test.go
/usr/share/gocode/src/golang.org/x/sync/singleflight
/usr/share/gocode/src/golang.org/x/sync/singleflight/singleflight.go
/usr/share/gocode/src/golang.org/x/sync/singleflight/singleflight_test.go
/usr/share/gocode/src/golang.org/x/sync/syncmap
/usr/share/gocode/src/golang.org/x/sync/syncmap/go19.go
/usr/share/gocode/src/golang.org/x/sync/syncmap/map.go
/usr/share/gocode/src/golang.org/x/sync/syncmap/map_bench_test.go
/usr/share/gocode/src/golang.org/x/sync/syncmap/map_reference_test.go
/usr/share/gocode/src/golang.org/x/sync/syncmap/map_test.go
/usr/share/gocode/src/golang.org/x/sync/syncmap/pre_go19.go
/usr/share/licenses/golang-x-sync-devel
/usr/share/licenses/golang-x-sync-devel/LICENSE
/usr/share/licenses/golang-x-sync-devel/PATENTS

References

Summary

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