Uninstalling PostGIS v3.2
Uninstalling PostGIS on a CentOS/RHEL/Rocky Linux/AlmaLinux host
To uninstall PostGIS on a CentOS/RHEL host, assume the identity of the root user and invoke the appropriate command.
On CentOS/RHEL 7 for EDB Posgres Advanced Server version 13:
On CentOS/RHEL 7 for earlier versions of EDB Posgres Advanced Server:
Where <xx>
is the EDB Postgres Advanced Server version and <y.y.y>
is the PostGIS version you want to uninstall.
On Rocky Linux/AlmaLinux/RHEL 8 for EDB Posgres Advanced Server version 13:
On Rocky Linux/AlmaLinux/RHEL 8 for earlier versions of EDB Posgres Advanced Server:
Uninstalling PostGIS on a Debian/Ubuntu host
To uninstall PostGIS on a Debian or Ubuntu host:
Where <xx>
is the EDB Postgres Advanced Server version and <y.y>
is the PostGIS version you want to uninstall
Uninstalling PostGIS on a SLES host
To uninstall PostGIS on a SLES host, assume the identity of the root user and invoke:
Uninstalling PostGIS on a Windows host
The PostGIS graphical installer creates an uninstaller that you can use to remove PostGIS. The uninstaller is created in the installation directory that you specified while installing PostGIS. The default is C:\Program Files\edb\as13
.
Navigate into the directory that contains the uninstaller and assume superuser privileges.
To begin uninstalling PostGIS, open the uninstaller and select Yes.
The uninstallation process begins.
When the uninstallation completes, select OK.