How To Install tinyows on Ubuntu 18.04

In this tutorial we learn how to install tinyows on Ubuntu 18.04. tinyows is lightweight and fast WFS-T server

Introduction

In this tutorial we learn how to install tinyows on Ubuntu 18.04.

What is tinyows

tinyows is:

TinyOWS is a lightweight and fast implementation of the OGC WFS-T specification. Web Feature Service (WFS) allows querying and retrieval of features. The transactional profile (WFS-T) allows inserting, updating or deleting such features.

From a technical point of view WFS-T is a Web Service API in front of a spatial database. TinyOWS is deeply tied to PostgreSQL/PostGIS because of this.

TinyOWS implements strictly OGC standards and pass successfully all WFS OGC CITE tests (and even beta ones).

TinyOWS is part of MapServer Suite, but provided as a distinct module (i.e you could use it in conjunction with MapServer and MapCache, or as a standalone app). But both MapServer and TinyOWS could use the same configuration file, if you want to (or native TinyOWS XML config file).

There are three methods to install tinyows on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install tinyows Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install tinyows using apt-get by running the following command:

sudo apt-get -y install tinyows

Install tinyows Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install tinyows using apt by running the following command:

sudo apt -y install tinyows

Install tinyows Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install tinyows using aptitude by running the following command:

sudo aptitude -y install tinyows

How To Uninstall tinyows on Ubuntu 18.04

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

sudo apt-get remove tinyows

Uninstall tinyows And Its Dependencies

To uninstall tinyows and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove tinyows

Remove tinyows Configurations and Data

To remove tinyows configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge tinyows

Remove tinyows configuration, data, and all of its dependencies

We can use the following command to remove tinyows configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge tinyows

References

Summary

In this tutorial we learn how to install tinyows package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.