Re: Where is my app installed? - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Where is my app installed?
Date
Msg-id f708d2f6-31db-4b06-9227-3ad5d7e19731@aklaver.com
Whole thread Raw
In response to Where is my app installed?  (Arbol One <ArbolOne@hotmail.ca>)
Responses Re: Where is my app installed?
Re: Where is my app installed?
List pgsql-general
On 8/22/24 17:36, 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?


As to where the  postgres command is:


ls -al /usr/lib/postgresql/16/bin/

[...]
-rwxr-xr-x 1 root root 10338808 Aug  7 06:13 postgres*
[...]

Why do you want to use postgres directly?

> 
> 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 [ í ]

-- 
Adrian Klaver
adrian.klaver@aklaver.com




pgsql-general by date:

Previous
From: Arbol One
Date:
Subject: Where is my app installed?
Next
From: Alan Hodgson
Date:
Subject: Re: Where is my app installed?