We find the bin directory of PostgreSQL using the command below.
1 |
ps -ef |grep postgres |
You can see this directory in the white box in the screen below.
We go to this directory using the “cd” command and run the following command to find the lib directory.
1 |
./pg_config --libdir |