How To Install libwtdbopostgres40 on Debian 9

In this tutorial we learn how to install libwtdbopostgres40 on Debian 9. libwtdbopostgres40 is PostgreSQL backend for Wt

Introduction

In this tutorial we learn how to install libwtdbopostgres40 on Debian 9.

What is libwtdbopostgres40

libwtdbopostgres40 is:

Wt (pronounced ‘witty’) is a C++ library and application server for developing and deploying web applications. The API is widget-centric and offers complete abstraction of any web-specific application details.

This package contains the PostgreSQL backend for Wt::Dbo.

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

Install libwtdbopostgres40 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libwtdbopostgres40

Install libwtdbopostgres40 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libwtdbopostgres40

Install libwtdbopostgres40 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libwtdbopostgres40

How To Uninstall libwtdbopostgres40 on Debian 9

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

sudo apt-get remove libwtdbopostgres40

Uninstall libwtdbopostgres40 And Its Dependencies

To uninstall libwtdbopostgres40 and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove libwtdbopostgres40

Remove libwtdbopostgres40 Configurations and Data

To remove libwtdbopostgres40 configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libwtdbopostgres40

Remove libwtdbopostgres40 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libwtdbopostgres40

Dependencies

libwtdbopostgres40 have the following dependencies:

References

Summary

In this tutorial we learn how to install libwtdbopostgres40 package on Debian 9 using different package management tools: apt, apt-get and aptitude.