How To Install libspatialite on Fedora 34
Introduction
In this tutorial we learn how to install libspatialite
on Fedora 34.
What is libspatialite
SpatiaLite is a a library extending the basic SQLite core in order to get a full fledged Spatial DBMS, really simple and lightweight, but mostly OGC-SFS compliant. libspatialite 5.0.1 4.fc34 x86_64 3.9 M libspatialite-5.0.1-4.fc34.src.rpm fedora Enables SQLite to support spatial data https MPLv1.1 or GPLv2+ or LGPLv2+ SpatiaLite is a a library extending the basic SQLite core in order to get a full fledged Spatial DBMS, really simple and lightweight, but mostly OGC-SFS compliant.
We can use yum
or dnf
to install libspatialite
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libspatialite.
Install libspatialite 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 libspatialite
using dnf
by running the following command:
sudo dnf -y install libspatialite
Install libspatialite 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 libspatialite
using yum
by running the following command:
sudo yum -y install libspatialite
How To Uninstall libspatialite on Fedora 34
To uninstall only the libspatialite
package we can use the following command:
sudo dnf remove libspatialite
libspatialite Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/17
/usr/lib/.build-id/17/572e0e5b2ae0c6af87abe9ded911914a5cf341
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/fc994cb4837bfaaf145700bd2a41d623de2488
/usr/lib/libspatialite.so.7
/usr/lib/libspatialite.so.7.1.2
/usr/lib/mod_spatialite.so
/usr/lib/mod_spatialite.so.7
/usr/lib/mod_spatialite.so.7.1.0
/usr/share/doc/libspatialite
/usr/share/doc/libspatialite/AUTHORS
/usr/share/doc/libspatialite/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/6e8a2a156fe9ef75cc640eaaf669b73636370c
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/4e6c80e6c4e6a6349d2021155b09a48469f85c
/usr/lib64/libspatialite.so.7
/usr/lib64/libspatialite.so.7.1.2
/usr/lib64/mod_spatialite.so
/usr/lib64/mod_spatialite.so.7
/usr/lib64/mod_spatialite.so.7.1.0
/usr/share/doc/libspatialite
/usr/share/doc/libspatialite/AUTHORS
/usr/share/doc/libspatialite/COPYING
References
- [libspatialite website](https://www.gaia-gis.it/fossil/libspatialite https://www.gaia-gis.it/fossil/libspatialite)
Summary
In this tutorial we learn how to install libspatialite
on Fedora 34 using yum and dnf.