How To Install pfm on Kali Linux
Introduction
In this tutorial we learn how to install pfm on Kali Linux.
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 Kali Linux. 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 updateAfter updating apt database, We can install pfm using apt-get by running the following command:
sudo apt-get -y install pfmInstall pfm Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install pfm using apt by running the following command:
sudo apt -y install pfmInstall pfm Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install pfm using aptitude by running the following command:
sudo aptitude -y install pfmHow To Uninstall pfm on Kali Linux
To uninstall only the pfm package we can use the following command:
sudo apt-get remove pfmUninstall pfm And Its Dependencies
To uninstall pfm and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove pfmRemove pfm Configurations and Data
To remove pfm configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge pfmRemove 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 pfmDependencies
pfm have the following dependencies:
References
Summary
In this tutorial we learn how to install pfm package on Kali Linux using different package management tools: apt, apt-get and aptitude.