How To Install libspatialite on Rocky Linux 8
Introduction
In this tutorial we learn how to install libspatialite
on Rocky Linux 8.
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.
We can use yum
or dnf
to install libspatialite
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libspatialite.
Install libspatialite 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 libspatialite
using dnf
by running the following command:
sudo dnf -y install libspatialite
Install libspatialite 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 libspatialite
using yum
by running the following command:
sudo yum -y install libspatialite
How To Uninstall libspatialite on Rocky Linux 8
To uninstall only the libspatialite
package we can use the following command:
sudo dnf remove libspatialite
libspatialite Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/d6783083a305f04ab552b82ad58bae8af552d1
/usr/lib/.build-id/91
/usr/lib/.build-id/91/c4b1af858d88530e28b28e3963ff810de8825d
/usr/lib64/libspatialite.so.7
/usr/lib64/libspatialite.so.7.1.1
/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
Summary
In this tutorial we learn how to install libspatialite
on Rocky Linux 8 using yum and dnf.