no pg_dump command

Hey, try installing postgresql-client using the distro package manager:

On debian based distros (i.e. ubuntu) use:

apt update && apt install postgresql-client