Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1shIVA-00FxGI-ET for pgsql-general@arkaria.postgresql.org; Fri, 23 Aug 2024 00:50:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1shIV8-007XxP-8s for pgsql-general@arkaria.postgresql.org; Fri, 23 Aug 2024 00:50:02 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1shIV7-007XuA-U4 for pgsql-general@lists.postgresql.org; Fri, 23 Aug 2024 00:50:02 +0000 Received: from fout2-smtp.messagingengine.com ([103.168.172.145]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1shIV2-000yyV-5O for pgsql-general@lists.postgresql.org; Fri, 23 Aug 2024 00:50:01 +0000 Received: from phl-compute-08.internal (phl-compute-08.nyi.internal [10.202.2.48]) by mailfout.nyi.internal (Postfix) with ESMTP id 5F7431390076; Thu, 22 Aug 2024 20:49:55 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-08.internal (MEProxy); Thu, 22 Aug 2024 20:49:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1724374195; x=1724460595; bh=fAf/GHH14oBpg40WRv/Mv3oB516pJ0Bof5vBPtYfcZI=; b= 0+8ghzMiZwjWcuWzjsE5DFM4hhCSksAHU3pA/USMuqfIc7ftKsKZt7o/YfoWlVSx jD51fVr9KTzUrxW0b0pQZQyI7PMWevQ9IyokJvqHIrCbglOBR9zTLKwk825+e9Dh d9/5dmN/iFA5TmR266zArN5jaNDeN57hXl3KYnKwEUaF1T6jFwNDyB76BrhzA6ME ZG3U2RAKX1d6tg9L9rdntwZ4XURBFVQr/f/y2z1/19L8oCcGkVjitO/77KBiGAPp f5ntj1GtkrUYbzO4RtVaAVrT0GmNWC3wdFdP6Ih+s+L4OjwkAgUCpertOOZ9zN6t Ty7sW/lBKDJI8ugKAMWRUw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1724374195; x= 1724460595; bh=fAf/GHH14oBpg40WRv/Mv3oB516pJ0Bof5vBPtYfcZI=; b=F +0eUR5X03DCu/ZmySGjuA9MGibwcvtIFa820AHnI/bM19/u5lfLFZ8wIUL+iykRP /+heC2skot8fskxjfbMv7lc5ZTgTMU1YNBYW8du+ojonROULUWrm7T/soNCLDi0c unmCOi3bo1XibToVTctJg9GW70KgHf7n360kojJcGy+spCx6TZQlNx7KCNaoZ/NU hweNlrfOFux/eDfdOAtQQF6dSDo6PGs2elwELRW8cDTOaZBote9YFuq+78XMSX6B ehOphlf3EasUVGJkcdQP8l7CJuEFuXlHTHbb+1A+jj58BUbtjNcYnzmJ+vpcHFrz D4XqrVbqfJ6hwnbjj5bNQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddruddvuddgfeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepkfffgggfuffvfhfhjggtgfesthekredttddvjeen ucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrse grkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpeeljeelgeekteetvdeiheek udeuieetffduudeljeetfffhfffhtefgtdetfefhheenucffohhmrghinheprghrsgholh honhgvrdgtrgenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr ohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmpdhnsggprhgtph htthhopedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegrrhgsohhlohhnvges hhhothhmrghilhdrtggrpdhrtghpthhtohepphhgshhqlhdqghgvnhgvrhgrlheslhhish htshdrphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 22 Aug 2024 20:49:54 -0400 (EDT) Message-ID: Date: Thu, 22 Aug 2024 17:49:53 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Where is my app installed? To: Arbol One , pgsql-general@lists.postgresql.org References: Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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