How To Install nftables on Fedora 36
Introduction
In this tutorial we learn how to install nftables
on Fedora 36.
What is nftables
Netfilter Tables userspace utilities.
We can use yum
or dnf
to install nftables
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install nftables.
Install nftables 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 nftables
using dnf
by running the following command:
sudo dnf -y install nftables
Install nftables 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 nftables
using yum
by running the following command:
sudo yum -y install nftables
How To Uninstall nftables on Fedora 36
To uninstall only the nftables
package we can use the following command:
sudo dnf remove nftables
nftables Package Contents on Fedora 36
/etc/nftables
/etc/nftables/main.nft
/etc/nftables/nat.nft
/etc/nftables/osf
/etc/nftables/osf/pf.os
/etc/nftables/router.nft
/etc/sysconfig/nftables.conf
/usr/lib/.build-id
/usr/lib/.build-id/82
/usr/lib/.build-id/82/f07a79182cebb97bd65ff3dbd3840e91a74e29
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/1bf7986baa9fcc921683d2d2ca7954a0b57faa
/usr/lib/libnftables.so.1
/usr/lib/libnftables.so.1.1.0
/usr/lib/systemd/system/nftables.service
/usr/sbin/nft
/usr/share/doc/nftables/examples/ct_helpers.nft
/usr/share/doc/nftables/examples/load_balancing.nft
/usr/share/doc/nftables/examples/secmark.nft
/usr/share/doc/nftables/examples/sets_and_maps.nft
/usr/share/licenses/nftables
/usr/share/licenses/nftables/COPYING
/usr/share/man/man5/libnftables-json.5.gz
/usr/share/man/man8/nft.8.gz
References
Summary
In this tutorial we learn how to install nftables
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
title: “How To Install nftables on Fedora 36” linkTitle: “nftables” type: “docs” description: “In this tutorial we learn how to install nftables in Fedora 36. nftables is Netfilter Tables userspace utilites” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/nftables-featured.png
Introduction
In this tutorial we learn how to install nftables
on Fedora 36.
What is nftables
Netfilter Tables userspace utilities.
We can use yum
or dnf
to install nftables
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install nftables.
Install nftables 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 nftables
using dnf
by running the following command:
sudo dnf -y install nftables
Install nftables 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 nftables
using yum
by running the following command:
sudo yum -y install nftables
How To Uninstall nftables on Fedora 36
To uninstall only the nftables
package we can use the following command:
sudo dnf remove nftables
nftables Package Contents on Fedora 36
/etc/nftables
/etc/nftables/main.nft
/etc/nftables/nat.nft
/etc/nftables/osf
/etc/nftables/osf/pf.os
/etc/nftables/router.nft
/etc/sysconfig/nftables.conf
/usr/lib/.build-id
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/c7e4d361dc7dd1edeab47f960efcf81441047c
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/cb9823aee392558ffed6ff94eb9106d764bd17
/usr/lib/systemd/system/nftables.service
/usr/lib64/libnftables.so.1
/usr/lib64/libnftables.so.1.1.0
/usr/sbin/nft
/usr/share/doc/nftables/examples/ct_helpers.nft
/usr/share/doc/nftables/examples/load_balancing.nft
/usr/share/doc/nftables/examples/secmark.nft
/usr/share/doc/nftables/examples/sets_and_maps.nft
/usr/share/licenses/nftables
/usr/share/licenses/nftables/COPYING
/usr/share/man/man5/libnftables-json.5.gz
/usr/share/man/man8/nft.8.gz
References
Summary
In this tutorial we learn how to install nftables
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).