public inbox for [email protected]
help / color / mirror / Atom feedWhere is my app installed?
4+ messages / 3 participants
[nested] [flat]
* Where is my app installed?
@ 2024-08-23 00:36 Arbol One <[email protected]>
2024-08-23 00:49 ` Re: Where is my app installed? Adrian Klaver <[email protected]>
2024-08-23 00:53 ` Re: Where is my app installed? Alan Hodgson <[email protected]>
0 siblings, 2 replies; 4+ messages in thread
From: Arbol One @ 2024-08-23 00:36 UTC (permalink / raw)
To: [email protected]
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 [ í ]
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Where is my app installed?
2024-08-23 00:36 Where is my app installed? Arbol One <[email protected]>
@ 2024-08-23 00:49 ` Adrian Klaver <[email protected]>
2024-08-23 11:55 ` Re: Where is my app installed? Arbol One <[email protected]>
1 sibling, 1 reply; 4+ messages in thread
From: Adrian Klaver @ 2024-08-23 00:49 UTC (permalink / raw)
To: Arbol One <[email protected]>; [email protected]
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]
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Where is my app installed?
2024-08-23 00:36 Where is my app installed? Arbol One <[email protected]>
2024-08-23 00:49 ` Re: Where is my app installed? Adrian Klaver <[email protected]>
@ 2024-08-23 11:55 ` Arbol One <[email protected]>
0 siblings, 0 replies; 4+ messages in thread
From: Arbol One @ 2024-08-23 11:55 UTC (permalink / raw)
To: [email protected]
Thanks everyone, the issue was resolved.
--
*/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 [ í ]
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Where is my app installed?
2024-08-23 00:36 Where is my app installed? Arbol One <[email protected]>
@ 2024-08-23 00:53 ` Alan Hodgson <[email protected]>
1 sibling, 0 replies; 4+ messages in thread
From: Alan Hodgson @ 2024-08-23 00:53 UTC (permalink / raw)
To: [email protected]
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.
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2024-08-23 11:55 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-08-23 00:36 Where is my app installed? Arbol One <[email protected]>
2024-08-23 00:49 ` Adrian Klaver <[email protected]>
2024-08-23 11:55 ` Arbol One <[email protected]>
2024-08-23 00:53 ` Alan Hodgson <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox