How To Install pfm on Debian 11
Introduction
In this tutorial we learn how to install pfm
on Debian 11.
What is pfm
pfm is:
Postgres Forms (pfm) is a client application with a graphical user interface for the PostgreSQL data base server. It enables the user: to design forms for adding, modifying or deleting records of data base tables;
to design links (one to many relationships) from one form to another, for navigating in the data base;
to design and to generate reports based on the data in a table or view;
to edit and to execute SQL statements.
Postgres Forms is implemented in Tcl/Tk, but there is no need for the user to program anything in Tcl/Tk. The user only has to use SQL for creating tables and views and for designing forms, links and reports.
Postgres Forms makes no attempt to hide the underlying SQL. On the contrary, in most cases, it shows both the SQL statements it sends to the PostgreSQL server and the results it gets back.
The PostgreSQL server can be remote or local.
There are three methods to install pfm
on Debian 11. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install pfm Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install pfm
using apt-get
by running the following command:
sudo apt-get -y install pfm
Install pfm Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install pfm
using apt
by running the following command:
sudo apt -y install pfm
Install pfm 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 pfm
using aptitude
by running the following command:
sudo aptitude -y install pfm
How To Uninstall pfm on Debian 11
To uninstall only the pfm
package we can use the following command:
sudo apt-get remove pfm
Uninstall pfm And Its Dependencies
To uninstall pfm
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove pfm
Remove pfm Configurations and Data
To remove pfm
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge pfm
Remove pfm configuration, data, and all of its dependencies
We can use the following command to remove pfm
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge pfm
Dependencies
pfm have the following dependencies:
References
Summary
In this tutorial we learn how to install pfm
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.