How To Install golang-github-coreos-systemd-devel on Fedora 36

In this tutorial we learn how to install golang-github-coreos-systemd-devel in Fedora 36. golang-github-coreos-systemd-devel is Go bindings to systemd socket activation, journal, D-Bus, and unit files

Introduction

In this tutorial we learn how to install golang-github-coreos-systemd-devel on Fedora 36.

What is golang-github-coreos-systemd-devel

Go bindings to systemd. The project has several packages – activation - for writing and using socket activation from Go – daemon - for notifying systemd of service status changes – dbus - for starting/stopping/inspecting running services and units – journal - for writing to systemd’s logging service, journald – sdjournal - for reading from journald by wrapping its C API – login1 - for integration with the systemd logind API – machine1 - for registering machines/containers with systemd – unit - for (de)serialization and comparison of unit files This package contains the source code needed for building packages that reference the following Go import paths – github.com/coreos/go-systemd

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

Install golang-github-coreos-systemd-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-coreos-systemd-devel using dnf by running the following command:

sudo dnf -y install golang-github-coreos-systemd-devel

Install golang-github-coreos-systemd-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-coreos-systemd-devel using yum by running the following command:

sudo yum -y install golang-github-coreos-systemd-devel

How To Uninstall golang-github-coreos-systemd-devel on Fedora 36

To uninstall only the golang-github-coreos-systemd-devel package we can use the following command:

sudo dnf remove golang-github-coreos-systemd-devel

golang-github-coreos-systemd-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-coreos-systemd-devel
/usr/share/doc/golang-github-coreos-systemd-devel/CONTRIBUTING.md
/usr/share/doc/golang-github-coreos-systemd-devel/README.md
/usr/share/doc/golang-github-coreos-systemd-devel/code-of-conduct.md
/usr/share/doc/golang-github-coreos-systemd-devel/examples
/usr/share/doc/golang-github-coreos-systemd-devel/examples/activation
/usr/share/doc/golang-github-coreos-systemd-devel/examples/activation/activation.go
/usr/share/doc/golang-github-coreos-systemd-devel/examples/activation/httpserver
/usr/share/doc/golang-github-coreos-systemd-devel/examples/activation/httpserver/README.md
/usr/share/doc/golang-github-coreos-systemd-devel/examples/activation/httpserver/hello.service
/usr/share/doc/golang-github-coreos-systemd-devel/examples/activation/httpserver/hello.socket
/usr/share/doc/golang-github-coreos-systemd-devel/examples/activation/httpserver/httpserver.go
/usr/share/doc/golang-github-coreos-systemd-devel/examples/activation/listen.go
/usr/share/doc/golang-github-coreos-systemd-devel/examples/activation/udpconn.go
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/coreos
/usr/share/gocode/src/github.com/coreos/go-systemd
/usr/share/gocode/src/github.com/coreos/go-systemd/.goipath
/usr/share/gocode/src/github.com/coreos/go-systemd/CONTRIBUTING.md
/usr/share/gocode/src/github.com/coreos/go-systemd/README.md
/usr/share/gocode/src/github.com/coreos/go-systemd/activation
/usr/share/gocode/src/github.com/coreos/go-systemd/activation/common_test.go
/usr/share/gocode/src/github.com/coreos/go-systemd/activation/files_test.go
/usr/share/gocode/src/github.com/coreos/go-systemd/activation/files_unix.go
/usr/share/gocode/src/github.com/coreos/go-systemd/activation/files_windows.go
/usr/share/gocode/src/github.com/coreos/go-systemd/activation/listeners.go
/usr/share/gocode/src/github.com/coreos/go-systemd/activation/listeners_test.go
/usr/share/gocode/src/github.com/coreos/go-systemd/activation/packetconns.go
/usr/share/gocode/src/github.com/coreos/go-systemd/activation/packetconns_test.go
/usr/share/gocode/src/github.com/coreos/go-systemd/code-of-conduct.md
/usr/share/gocode/src/github.com/coreos/go-systemd/daemon
/usr/share/gocode/src/github.com/coreos/go-systemd/daemon/sdnotify.go
/usr/share/gocode/src/github.com/coreos/go-systemd/daemon/sdnotify_test.go
/usr/share/gocode/src/github.com/coreos/go-systemd/daemon/watchdog.go
/usr/share/gocode/src/github.com/coreos/go-systemd/daemon/watchdog_test.go
/usr/share/gocode/src/github.com/coreos/go-systemd/dbus
/usr/share/gocode/src/github.com/coreos/go-systemd/dbus/dbus.go
/usr/share/gocode/src/github.com/coreos/go-systemd/dbus/dbus_test.go
/usr/share/gocode/src/github.com/coreos/go-systemd/dbus/methods.go
/usr/share/gocode/src/github.com/coreos/go-systemd/dbus/methods_test.go
/usr/share/gocode/src/github.com/coreos/go-systemd/dbus/properties.go
/usr/share/gocode/src/github.com/coreos/go-systemd/dbus/set.go
/usr/share/gocode/src/github.com/coreos/go-systemd/dbus/set_test.go
/usr/share/gocode/src/github.com/coreos/go-systemd/dbus/subscription.go
/usr/share/gocode/src/github.com/coreos/go-systemd/dbus/subscription_set.go
/usr/share/gocode/src/github.com/coreos/go-systemd/dbus/subscription_set_test.go
/usr/share/gocode/src/github.com/coreos/go-systemd/dbus/subscription_test.go
/usr/share/gocode/src/github.com/coreos/go-systemd/examples
/usr/share/gocode/src/github.com/coreos/go-systemd/examples/activation
/usr/share/gocode/src/github.com/coreos/go-systemd/examples/activation/httpserver
/usr/share/gocode/src/github.com/coreos/go-systemd/examples/activation/httpserver/README.md
/usr/share/gocode/src/github.com/coreos/go-systemd/glide.lock
/usr/share/gocode/src/github.com/coreos/go-systemd/glide.yaml
/usr/share/gocode/src/github.com/coreos/go-systemd/go.mod
/usr/share/gocode/src/github.com/coreos/go-systemd/import1
/usr/share/gocode/src/github.com/coreos/go-systemd/import1/dbus.go
/usr/share/gocode/src/github.com/coreos/go-systemd/import1/dbus_test.go
/usr/share/gocode/src/github.com/coreos/go-systemd/internal
/usr/share/gocode/src/github.com/coreos/go-systemd/internal/dlopen
/usr/share/gocode/src/github.com/coreos/go-systemd/internal/dlopen/dlopen.go
/usr/share/gocode/src/github.com/coreos/go-systemd/internal/dlopen/dlopen_test.go
/usr/share/gocode/src/github.com/coreos/go-systemd/journal
/usr/share/gocode/src/github.com/coreos/go-systemd/journal/journal.go
/usr/share/gocode/src/github.com/coreos/go-systemd/journal/journal_test.go
/usr/share/gocode/src/github.com/coreos/go-systemd/journal/journal_unix.go
/usr/share/gocode/src/github.com/coreos/go-systemd/journal/journal_windows.go
/usr/share/gocode/src/github.com/coreos/go-systemd/login1
/usr/share/gocode/src/github.com/coreos/go-systemd/login1/dbus.go
/usr/share/gocode/src/github.com/coreos/go-systemd/login1/dbus_test.go
/usr/share/gocode/src/github.com/coreos/go-systemd/machine1
/usr/share/gocode/src/github.com/coreos/go-systemd/machine1/dbus.go
/usr/share/gocode/src/github.com/coreos/go-systemd/machine1/dbus_test.go
/usr/share/gocode/src/github.com/coreos/go-systemd/sdjournal
/usr/share/gocode/src/github.com/coreos/go-systemd/sdjournal/functions.go
/usr/share/gocode/src/github.com/coreos/go-systemd/sdjournal/functions_test.go
/usr/share/gocode/src/github.com/coreos/go-systemd/sdjournal/journal.go
/usr/share/gocode/src/github.com/coreos/go-systemd/sdjournal/journal_test.go
/usr/share/gocode/src/github.com/coreos/go-systemd/sdjournal/read.go
/usr/share/gocode/src/github.com/coreos/go-systemd/unit
/usr/share/gocode/src/github.com/coreos/go-systemd/unit/deserialize.go
/usr/share/gocode/src/github.com/coreos/go-systemd/unit/deserialize_test.go
/usr/share/gocode/src/github.com/coreos/go-systemd/unit/end_to_end_test.go
/usr/share/gocode/src/github.com/coreos/go-systemd/unit/escape.go
/usr/share/gocode/src/github.com/coreos/go-systemd/unit/escape_test.go
/usr/share/gocode/src/github.com/coreos/go-systemd/unit/option.go
/usr/share/gocode/src/github.com/coreos/go-systemd/unit/option_test.go
/usr/share/gocode/src/github.com/coreos/go-systemd/unit/section.go
/usr/share/gocode/src/github.com/coreos/go-systemd/unit/serialize.go
/usr/share/gocode/src/github.com/coreos/go-systemd/unit/serialize_test.go
/usr/share/gocode/src/github.com/coreos/go-systemd/util
/usr/share/gocode/src/github.com/coreos/go-systemd/util/util.go
/usr/share/gocode/src/github.com/coreos/go-systemd/util/util_cgo.go
/usr/share/gocode/src/github.com/coreos/go-systemd/util/util_stub.go
/usr/share/gocode/src/github.com/coreos/go-systemd/util/util_test.go
/usr/share/licenses/golang-github-coreos-systemd-devel
/usr/share/licenses/golang-github-coreos-systemd-devel/LICENSE
/usr/share/licenses/golang-github-coreos-systemd-devel/NOTICE

References

Summary

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