pfm command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
pfm: command not found
or when using sudo you get the following error message
sudo: pfm: command not found
Solutions to pfm: command not found
How To Fix pfm: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu pfm is provided by pfm package.
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.
To fix this problem, we can install more using the command below.
sudo apt-get -y install pfm
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install pfm.
sudo apt -y install pfm
Or if you have aptitude installed you can use the following command.
sudo aptitude install pfm
Summary
In this tutorial we learn how to fix pfm command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.