How To Install libpgtypes on Fedora 34
Introduction
In this tutorial we learn how to install libpgtypes
on Fedora 34.
What is libpgtypes
The pgtypes library maps PostgreSQL database types to C equivalents that can be used in C programs. It also offers functions to do basic calculations with those types within C, i.e., without the help of the PostgreSQL server. libpgtypes 13.1 5.fc34 x86_64 45 k libecpg-13.1-5.fc34.src.rpm fedora Map PostgreSQL database types to C equivalents http PostgreSQL The pgtypes library maps PostgreSQL database types to C equivalents that can be used in C programs. It also offers functions to do basic calculations with those types within C, i.e., without the help of the PostgreSQL server.
We can use yum
or dnf
to install libpgtypes
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libpgtypes.
Install libpgtypes on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install libpgtypes
using dnf
by running the following command:
sudo dnf -y install libpgtypes
Install libpgtypes on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install libpgtypes
using yum
by running the following command:
sudo yum -y install libpgtypes
How To Uninstall libpgtypes on Fedora 34
To uninstall only the libpgtypes
package we can use the following command:
sudo dnf remove libpgtypes
libpgtypes Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/45a551c3087b57d01f8d62f5eefad1fe3a0dc3
/usr/lib/libpgtypes.so.3
/usr/lib/libpgtypes.so.3.13
/usr/share/licenses/libpgtypes
/usr/share/licenses/libpgtypes/COPYRIGHT
/usr/lib/.build-id
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/e614f55d74105ca61849c60fd0c116e806a46f
/usr/lib64/libpgtypes.so.3
/usr/lib64/libpgtypes.so.3.13
/usr/share/licenses/libpgtypes
/usr/share/licenses/libpgtypes/COPYRIGHT
References
- [libpgtypes website](http://www.postgresql.org/ http://www.postgresql.org/)
Summary
In this tutorial we learn how to install libpgtypes
on Fedora 34 using yum and dnf.