sudo apt-get install libpq-dev
Here is what the above code is Doing:
1. We’re using the apt-get package manager to install the libpq-dev package.
2. We’re using the sudo command to run the apt-get command as the superuser.
3. We’re using the -y flag to tell apt-get to assume “yes” as an answer to all prompts and run non-interactively.
4. We’re using the -qq flag to tell apt-get to be quiet and not output any messages.