From: | Alan Hodgson <ahodgson(at)lists(dot)simkin(dot)ca> |
---|---|
To: | pgsql-general(at)lists(dot)postgresql(dot)org |
Subject: | Re: Where is my app installed? |
Date: | 2024-08-23 00:53:10 |
Message-ID: | 2977b950b77eb0f113d8e70a051968217098fe21.camel@lists.simkin.ca |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thu, 2024-08-22 at 20:36 -0400, Arbol One wrote:
>
> After installing PostgreSQL on my Debian-12 machine, I typed
> 'postgres --version' and got this msg:
> bash: postgres: command not found
>
> 'psql --version', however, does work and gives me this message :
>
> psql (PostgreSQL) 16.3 (Debian 16.3-1.pgdg120+1)
>
> Obviously postgres is not in the path, but I don't know where the
> 'apt-get' installed it or why it did not add it to the path.
>
> Is there a way I can locate the installation directory?
>
> Thank in advance.
>
>
find / -name postgres
or
dpkg-query -L postgresql-16 | grep 'bin/postgres$'
You wouldn't normally invoke the server from the command line, so it
doesn't need to be in anyone's path.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2024-08-23 02:21:52 | Re: Where is my app installed? |
Previous Message | Adrian Klaver | 2024-08-23 00:49:53 | Re: Where is my app installed? |