How To Install iptables-libs on Rocky Linux 8
Introduction
In this tutorial we learn how to install iptables-libs
on Rocky Linux 8.
What is iptables-libs
iptables libraries. Please remember that libip*tc libraries do neither have a stable API nor a real so version. For more information about this, please have a look at http
We can use yum
or dnf
to install iptables-libs
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install iptables-libs.
Install iptables-libs on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install iptables-libs
using dnf
by running the following command:
sudo dnf -y install iptables-libs
Install iptables-libs on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install iptables-libs
using yum
by running the following command:
sudo yum -y install iptables-libs
How To Uninstall iptables-libs on Rocky Linux 8
To uninstall only the iptables-libs
package we can use the following command:
sudo dnf remove iptables-libs
iptables-libs Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/09
/usr/lib/.build-id/09/69a42b7c1fecbb8a28bcf93f3a8edfc7c73f04
/usr/lib/.build-id/21
/usr/lib/.build-id/21/0a3c7f5fd0854740204ef71908778e153c46c2
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/339dd4c321c1d53696dbd5dd6b47324af8a50c
/usr/lib/.build-id/9c/fa808b2b141bdd7057d4d54b0d313ea9db2f67
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/118fae32235180db94afb25188e8ccc08c9cd5
/usr/lib/.build-id/f0
/usr/lib/.build-id/f0/04c4dfac4f9a3c9bea324295d8a84eed29e913
/usr/lib64/libip4tc.so.0
/usr/lib64/libip4tc.so.0.1.0
/usr/lib64/libip4tc.so.2
/usr/lib64/libip4tc.so.2.0.0
/usr/lib64/libip6tc.so.0
/usr/lib64/libip6tc.so.0.1.0
/usr/lib64/libip6tc.so.2
/usr/lib64/libip6tc.so.2.0.0
/usr/lib64/libiptc.so.0
/usr/lib64/libiptc.so.0.0.0
/usr/lib64/libxtables.so.12
/usr/lib64/libxtables.so.12.2.0
/usr/lib/.build-id
/usr/lib/.build-id/37
/usr/lib/.build-id/37/006056352904baa1ad4693d4255c654c8ed126
/usr/lib/.build-id/4a/81c319467561e4bd4d91229626826846c81b2e
/usr/lib/.build-id/91
/usr/lib/.build-id/91/bc319274195c8d97023081b722aef09c161095
/usr/lib/.build-id/af
/usr/lib/.build-id/af/448f0b8cea4590f2538cbf605f49970e181674
/usr/lib/.build-id/b9/e2609b416a4569cf75a2998b1fd6b3a0931d7c
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/865b81a7fc520befa8c025d2e6b446c502eb54
/usr/lib/libip4tc.so.0
/usr/lib/libip4tc.so.0.1.0
/usr/lib/libip4tc.so.2
/usr/lib/libip4tc.so.2.0.0
/usr/lib/libip6tc.so.0
/usr/lib/libip6tc.so.0.1.0
/usr/lib/libip6tc.so.2
/usr/lib/libip6tc.so.2.0.0
/usr/lib/libiptc.so.0
/usr/lib/libiptc.so.0.0.0
/usr/lib/libxtables.so.12
/usr/lib/libxtables.so.12.2.0
References
Summary
In this tutorial we learn how to install iptables-libs
on Rocky Linux 8 using yum and dnf.