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 1shMkF-00H2xr-FQ for pgsql-general@arkaria.postgresql.org; Fri, 23 Aug 2024 05:21:55 +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 1shMkD-009hlK-A7 for pgsql-general@arkaria.postgresql.org; Fri, 23 Aug 2024 05:21:53 +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 1shMkC-009hlB-U5 for pgsql-general@lists.postgresql.org; Fri, 23 Aug 2024 05:21:53 +0000 Received: from mail-oo1-xc29.google.com ([2607:f8b0:4864:20::c29]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1shMkB-0010l8-1t for pgsql-general@postgresql.org; Fri, 23 Aug 2024 05:21:52 +0000 Received: by mail-oo1-xc29.google.com with SMTP id 006d021491bc7-5da686531d3so1165709eaf.3 for ; Thu, 22 Aug 2024 22:21:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724390510; x=1724995310; darn=postgresql.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=BzW30dser62jphkxo3hOaAc1Qerx+pQsBT3cBJtOcKY=; b=IvH6iDozGB4Omvt7iy/UXqg0UYGNOm2vZQJd3TLOnnnbb7R0XKcCQTPG0Zd5bI6cFd 8FA2UBi6FjnHPSFPT/yMxjYr1atPqQYocCzFa8O9Ox5uhu8FmYltNIvf0InwHV9TksdQ ytEtZXo9LD18IC/WqUpQAqQrNCdyLzAqvlENxpqRPA8ny8P09JfklEjEzAvDe11ariRj ObOn4OcIXwM75VChATUepjNZsykNma86MvgbBE8Dz8YHFjaD3WVHs8VyEsY/2LLiajhX +EmFNrL+eL67XVY4DH/5JXSm/AFv5xUSeh0lasoifsDluANAWPIaPptKUbfLZj3QTX7b 7wNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724390510; x=1724995310; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=BzW30dser62jphkxo3hOaAc1Qerx+pQsBT3cBJtOcKY=; b=n6UpCEl7C4hYJK7Aa5yWi8HrVkmNeBXXZikDEyEqVwKu9HTEx7N8ty1X0wTnR6J9/6 cHppzYerEop38/0P1HF6vrxGFL4DR3lg4eWuau3lOq55VBlW+Tu5omc2RF/4UnhXaMfK vsN9tZkCFZz0/GM+1gw5ZccasWAIwrMLVHvia68cMuZtMUyXqUkybWD2qGUsFQ+C+fLB belwil0j1rwhMHER8ryBuqB+/DSFTC989UC/6vJcJhb4N61xAb2W4jnQALUFcPu6t/7r zaTN+vgTGmx3pzHVlt0FaBRJQ6FpBv3MzbJC5PMOcNMfk6K+qscPeUyMqwF0q6IXOHTx D6CQ== X-Gm-Message-State: AOJu0Yz3zhRmh/gGPORlXqVk6MiOIeStmPxFMvYpBGJ2URKlzH2HuDe6 vDsZo5eozAWvvwQrUbveio77mTOQYStz45o984vmkRV99xgqelC6vnjdWprSLa+7fN4hE521WSS 6Rw4lU2rtWaAuFlD5ZU5Hm8IgNKlQDg== X-Google-Smtp-Source: AGHT+IGVUUs4pDYnFKbdaGW3xYf+Dqbre5MtUoGEeL8q4XSvfLBYbUo6OJrOAS5cjDqpzJCOs6Sz9E2eN499QUMgPfo= X-Received: by 2002:a05:6870:b492:b0:270:631e:cf7b with SMTP id 586e51a60fabf-273e66db4fdmr1251358fac.41.1724390510056; Thu, 22 Aug 2024 22:21:50 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ron Johnson Date: Fri, 23 Aug 2024 01:21:39 -0400 Message-ID: Subject: Re: where is postres installed? To: pgsql-general Content-Type: multipart/alternative; boundary="000000000000ce5c92062052f353" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000ce5c92062052f353 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Aug 22, 2024 at 8:36=E2=80=AFPM Arbol One wro= te: > 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 --=20 Death to America, and butter sauce. Iraq lobster! --000000000000ce5c92062052f353 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Aug 22, 2024 at 8:36=E2=80=AFPM A= rbol One <ArbolOne@hotmail.ca= > wrote:
=20

After installing PostgreSQL on my Debian-12 machine, I typed 'postgres --version' and got thi= s msg:
bash: postgres: command not found

'psql --version', however, does wor= k 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?
<= /p>


pg_config | grep BINDIR=C2=A0

--
Death to Ameri= ca, and butter sauce.
Iraq lobster!
--000000000000ce5c92062052f353--