How To Install postgresql-ip4r on Fedora 36
Introduction
In this tutorial we learn how to install postgresql-ip4r
on Fedora 36.
What is postgresql-ip4r
ip4, ip4r, ip6, ip6r, ipaddress and iprange are types that contain a single IPv4/IPv6 address and a range of IPv4/IPv6 addresses respectively. They can be used as a more flexible, indexable version of the cidr type.
We can use yum
or dnf
to install postgresql-ip4r
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install postgresql-ip4r.
Install postgresql-ip4r 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 postgresql-ip4r
using dnf
by running the following command:
sudo dnf -y install postgresql-ip4r
Install postgresql-ip4r 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 postgresql-ip4r
using yum
by running the following command:
sudo yum -y install postgresql-ip4r
How To Uninstall postgresql-ip4r on Fedora 36
To uninstall only the postgresql-ip4r
package we can use the following command:
sudo dnf remove postgresql-ip4r
postgresql-ip4r Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/37
/usr/lib/.build-id/37/e8dc412d7156718963a6807b2e2fdd64c094c9
/usr/lib64/pgsql/bitcode/ip4r.index.bc
/usr/lib64/pgsql/bitcode/ip4r/src/ip4r.bc
/usr/lib64/pgsql/bitcode/ip4r/src/ip4r_module.bc
/usr/lib64/pgsql/bitcode/ip4r/src/ip6r.bc
/usr/lib64/pgsql/bitcode/ip4r/src/ipaddr.bc
/usr/lib64/pgsql/bitcode/ip4r/src/iprange.bc
/usr/lib64/pgsql/bitcode/ip4r/src/raw_io.bc
/usr/lib64/pgsql/ip4r.so
/usr/share/doc/postgresql-ip4r
/usr/share/doc/postgresql-ip4r/README.ip4r
/usr/share/pgsql/extension/ip4r--2.0--2.1.sql
/usr/share/pgsql/extension/ip4r--2.1--2.2.sql
/usr/share/pgsql/extension/ip4r--2.2--2.4.sql
/usr/share/pgsql/extension/ip4r--2.4.sql
/usr/share/pgsql/extension/ip4r--unpackaged1--2.0.sql
/usr/share/pgsql/extension/ip4r--unpackaged2.0--2.0.sql
/usr/share/pgsql/extension/ip4r--unpackaged2.1--2.1.sql
/usr/share/pgsql/extension/ip4r.control
References
Summary
In this tutorial we learn how to install postgresql-ip4r
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).