How To Install golang-github-seccomp-libseccomp-devel on Fedora 36

In this tutorial we learn how to install golang-github-seccomp-libseccomp-devel in Fedora 36. golang-github-seccomp-libseccomp-devel is Libseccomp Go bindings

Introduction

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

What is golang-github-seccomp-libseccomp-devel

The libseccomp library provides an easy to use, platform independent, interface to the Linux Kernel’s syscall filtering mechanism. The libseccomp API is designed to abstract away the underlying BPF based syscall filter language and present a more conventional function-call based filtering interface that should be familiar to, and easily adopted by, application developers. The libseccomp-golang library provides a Go based interface to the libseccomp library. This package contains the source code needed for building packages that reference the following Go import paths – github.com/seccomp/libseccomp-golang

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

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

sudo dnf -y install golang-github-seccomp-libseccomp-devel

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

sudo yum -y install golang-github-seccomp-libseccomp-devel

How To Uninstall golang-github-seccomp-libseccomp-devel on Fedora 36

To uninstall only the golang-github-seccomp-libseccomp-devel package we can use the following command:

sudo dnf remove golang-github-seccomp-libseccomp-devel

golang-github-seccomp-libseccomp-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-seccomp-libseccomp-devel
/usr/share/doc/golang-github-seccomp-libseccomp-devel/CHANGELOG
/usr/share/doc/golang-github-seccomp-libseccomp-devel/README
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/seccomp
/usr/share/gocode/src/github.com/seccomp/libseccomp-golang
/usr/share/gocode/src/github.com/seccomp/libseccomp-golang/.goipath
/usr/share/gocode/src/github.com/seccomp/libseccomp-golang/seccomp.go
/usr/share/gocode/src/github.com/seccomp/libseccomp-golang/seccomp_internal.go
/usr/share/gocode/src/github.com/seccomp/libseccomp-golang/seccomp_test.go
/usr/share/licenses/golang-github-seccomp-libseccomp-devel
/usr/share/licenses/golang-github-seccomp-libseccomp-devel/LICENSE

References

Summary

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