How To Install virtualpg on Fedora 34

virtualpg is A loadable dynamic extension to both SQLite and SpatiaLite A loadable dynamic extension to both SQLite and SpatiaLite

Introduction

In this tutorial we learn how to install virtualpg on Fedora 34.

What is virtualpg

Virtualpg supports direct SQL access to PostgreSQL and PostGIS tables, enabling simple and straightforward data exchanges between these two popular open source Spatial DBMSs. virtualpg 2.0.1 4.fc34 x86_64 39 k virtualpg-2.0.1-4.fc34.src.rpm fedora A loadable dynamic extension to both SQLite and SpatiaLite https MPLv1.1 or GPLv2+ or LGPLv2+ Virtualpg supports direct SQL access to PostgreSQL and PostGIS tables, enabling simple and straightforward data exchanges between these two popular open source Spatial DBMSs.

We can use yum or dnf to install virtualpg on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install virtualpg.

Install virtualpg 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 virtualpg using dnf by running the following command:

sudo dnf -y install virtualpg

Install virtualpg 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 virtualpg using yum by running the following command:

sudo yum -y install virtualpg

How To Uninstall virtualpg on Fedora 34

To uninstall only the virtualpg package we can use the following command:

sudo dnf remove virtualpg

virtualpg Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/7d650d8ab92479f5e35727507527418967edc9
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/d12ee8788ea4a1e95b379cc5f96f0cfcf35467
/usr/lib/libvirtualpg.so.0
/usr/lib/libvirtualpg.so.0.1.1
/usr/lib/mod_virtualpg.so
/usr/lib/mod_virtualpg.so.0
/usr/lib/mod_virtualpg.so.0.1.1
/usr/share/doc/virtualpg
/usr/share/doc/virtualpg/AUTHORS
/usr/share/doc/virtualpg/README
/usr/share/licenses/virtualpg
/usr/share/licenses/virtualpg/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/97
/usr/lib/.build-id/97/76c9cc696e81e007231604cb3227658f94afa3
/usr/lib/.build-id/be
/usr/lib/.build-id/be/99c641253930f4aae1a634faca891b3a281d6b
/usr/lib64/libvirtualpg.so.0
/usr/lib64/libvirtualpg.so.0.1.1
/usr/lib64/mod_virtualpg.so
/usr/lib64/mod_virtualpg.so.0
/usr/lib64/mod_virtualpg.so.0.1.1
/usr/share/doc/virtualpg
/usr/share/doc/virtualpg/AUTHORS
/usr/share/doc/virtualpg/README
/usr/share/licenses/virtualpg
/usr/share/licenses/virtualpg/COPYING

References

Summary

In this tutorial we learn how to install virtualpg on Fedora 34 using yum and dnf.