public inbox for [email protected]  
help / color / mirror / Atom feed
From: Ron Johnson <[email protected]>
To: pgsql-general <[email protected]>
Subject: Re: where is postres installed?
Date: Fri, 23 Aug 2024 01:21:39 -0400
Message-ID: <CANzqJaAV9_OzUTiK+iDK_2JK=4KKtMwEAKh4h+LyWHQC8Le_dg@mail.gmail.com> (raw)
In-Reply-To: <DM8PR02MB79420D0F5AB14952B94DBCECBA882@DM8PR02MB7942.namprd02.prod.outlook.com>
References: <DM8PR02MB79420D0F5AB14952B94DBCECBA882@DM8PR02MB7942.namprd02.prod.outlook.com>

On Thu, Aug 22, 2024 at 8:36 PM Arbol One <[email protected]> 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?
>

pg_config | grep BINDIR

-- 
Death to America, and butter sauce.
Iraq lobster!


view thread (5+ 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]
  Subject: Re: where is postres installed?
  In-Reply-To: <CANzqJaAV9_OzUTiK+iDK_2JK=4KKtMwEAKh4h+LyWHQC8Le_dg@mail.gmail.com>

* 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