public inbox for [email protected]  
help / color / mirror / Atom feed
From: Adrian Klaver <[email protected]>
To: Arbol One <[email protected]>
To: [email protected]
Subject: Re: Where is my app installed?
Date: Thu, 22 Aug 2024 17:49:53 -0700
Message-ID: <[email protected]> (raw)
In-Reply-To: <DM8PR02MB79420C68B10478728F2AF6D6BA882@DM8PR02MB7942.namprd02.prod.outlook.com>
References: <DM8PR02MB79420C68B10478728F2AF6D6BA882@DM8PR02MB7942.namprd02.prod.outlook.com>

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
[email protected]







view thread (4+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Where is my app installed?
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox