How To Install golang-github-coreos-iptables-devel on Fedora 36
Introduction
In this tutorial we learn how to install golang-github-coreos-iptables-devel
on Fedora 36.
What is golang-github-coreos-iptables-devel
Go bindings for iptables utility. In-kernel netfilter does not have a good userspace API. The tables are manipulated via setsockopt that sets/replaces the entire table. Changes to existing table need to be resolved by userspace code which is difficult and error-prone. Netfilter developers heavily advocate using iptables utlity for programmatic manipulation. go-iptables wraps invocation of iptables utility with functions to append and delete rules; create, clear and delete chains. This package contains the source code needed for building packages that reference the following Go import paths – github.com/coreos/go-iptables
We can use yum
or dnf
to install golang-github-coreos-iptables-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-iptables-devel.
Install golang-github-coreos-iptables-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-iptables-devel
using dnf
by running the following command:
sudo dnf -y install golang-github-coreos-iptables-devel
Install golang-github-coreos-iptables-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-iptables-devel
using yum
by running the following command:
sudo yum -y install golang-github-coreos-iptables-devel
How To Uninstall golang-github-coreos-iptables-devel on Fedora 36
To uninstall only the golang-github-coreos-iptables-devel
package we can use the following command:
sudo dnf remove golang-github-coreos-iptables-devel
golang-github-coreos-iptables-devel Package Contents on Fedora 36
/usr/share/doc/golang-github-coreos-iptables-devel
/usr/share/doc/golang-github-coreos-iptables-devel/README.md
/usr/share/doc/golang-github-coreos-iptables-devel/code-of-conduct.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/coreos
/usr/share/gocode/src/github.com/coreos/go-iptables
/usr/share/gocode/src/github.com/coreos/go-iptables/.goipath
/usr/share/gocode/src/github.com/coreos/go-iptables/README.md
/usr/share/gocode/src/github.com/coreos/go-iptables/code-of-conduct.md
/usr/share/gocode/src/github.com/coreos/go-iptables/glide.lock
/usr/share/gocode/src/github.com/coreos/go-iptables/glide.yaml
/usr/share/gocode/src/github.com/coreos/go-iptables/iptables
/usr/share/gocode/src/github.com/coreos/go-iptables/iptables/iptables.go
/usr/share/gocode/src/github.com/coreos/go-iptables/iptables/iptables_test.go
/usr/share/gocode/src/github.com/coreos/go-iptables/iptables/lock.go
/usr/share/licenses/golang-github-coreos-iptables-devel
/usr/share/licenses/golang-github-coreos-iptables-devel/LICENSE
/usr/share/licenses/golang-github-coreos-iptables-devel/NOTICE
References
Summary
In this tutorial we learn how to install golang-github-coreos-iptables-devel
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).