From: | Muhammad Usman Khan <usman(dot)k(at)bitnine(dot)net> |
---|---|
To: | Arbol One <ArbolOne(at)hotmail(dot)ca> |
Cc: | pgsql-general(at)lists(dot)postgresql(dot)org |
Subject: | Re: where is postres installed? |
Date: | 2024-08-23 04:32:54 |
Message-ID: | CAPnRvGumS=9=ndcotBNns9aeF=VSkXCXsraBgmjiXEm6fMtdJA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi Arbol,
You can try from the following commands:
dpkg-query -L postgresql-16
which psql
sudo find / -name "postgres" 2>/dev/null
On Fri, 23 Aug 2024 at 05:35, Arbol One <ArbolOne(at)hotmail(dot)ca> 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.
> --
> *ArbolOne.ca* Using Fire Fox and Thunderbird. ArbolOne is composed of
> students and volunteers dedicated to providing free services to charitable
> organizations. ArbolOne on Java Development is in progress [ í ]
>
From | Date | Subject | |
---|---|---|---|
Next Message | Muhammad Ikram | 2024-08-23 04:49:44 | Re: where is postres installed? |
Previous Message | Adrian Klaver | 2024-08-23 02:43:27 | Re: Where is my app installed? |