Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iHRyw-0000wD-RR for pgsql-general@arkaria.postgresql.org; Mon, 07 Oct 2019 12:19:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iHRyv-0001Xm-Ei for pgsql-general@arkaria.postgresql.org; Mon, 07 Oct 2019 12:19:17 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iHRyv-0001XP-1X for pgsql-general@lists.postgresql.org; Mon, 07 Oct 2019 12:19:17 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1iHRyo-0003qk-26 for pgsql-general@postgresql.org; Mon, 07 Oct 2019 12:19:15 +0000 Received: by mail-wr1-x444.google.com with SMTP id j11so9244503wrp.1 for ; Mon, 07 Oct 2019 05:19:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=XzC2gBOW9tIJ+epyogR6yigzDj4TgQUKn4wfS1XUVew=; b=2R7K71bXypftd9AeN9e3XAnaR75NCXgyNWSkzQQH+4C7C3Iox6ayfmNkDw8+RB+B8z 05k4kX/HvTmlYghFUJKmp5tELWJMH0+88CPjVKp90THwenYd1R/HLhnQ14qRhj8CunzV mGUIzItjlCorhI71joaWEtzTzbQxO2vwO58UEto2WD//lbFL2XV9ta6kSTDWE6x4d6Ln Uy7YaMskYhN3a3Z2v9EhzZkvbwCmjRMdOv/4M2kWEc744O289mGiYv5FpxIDtpMzWSdi TkCQ+kvZU4UrzFONjOt5Xb+Ftr7Sq8qMsiw5OlbNvgpc7rqc82trdTRsf4YRxs4j5xW8 VZ0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=XzC2gBOW9tIJ+epyogR6yigzDj4TgQUKn4wfS1XUVew=; b=NfUi3LI9CLGdpNbft/rlypaQ9knyoB0EdCnffswMndxxRWkCk6eoKVOKy2wNkQcalz RktqquhLN10YgHs5H6cvlzxsAVXb/Wy3IJCxH9LKrzyh9F8UcNGQaE/L/h71o/JI6Z0b wQo7GjWlviyxTCdUW1kqF2P+zH1iTe9gUuNSweCS4T6busxU53xhmJa2QoKgj3uNOE+P h1WoTQoxiiefpvEti6vRPxDPQIiqVZCOM4L8937+IWYQmdJ4LveUa90cVm1mUShEqcr1 x43I+qb0YBhxrF5H7wOxNrJazMn3GVAv5z5EzLNIVGCUkNbwgG20lKkVWQq7cCWLxwgu rw3A== X-Gm-Message-State: APjAAAW8umAOBT2/CNqHxP3OH5xrQ7RLjotTFvCy0bzOa8+xgSIPSJrV Cp5Dsz/SybyhR+IrLT5K+ttRWQ== X-Google-Smtp-Source: APXvYqx1tLhqxZDBdt2irmMM+0wnPz4nLgohXkfsIqrtEvgVyJuuoKK3JNYJR2+gebgqjbGl0IDF0w== X-Received: by 2002:a5d:690e:: with SMTP id t14mr20369177wru.333.1570450748627; Mon, 07 Oct 2019 05:19:08 -0700 (PDT) Received: from localhost (ip-86-49-253-183.net.upcbroadband.cz. [86.49.253.183]) by smtp.gmail.com with ESMTPSA id q19sm41057731wra.89.2019.10.07.05.19.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Oct 2019 05:19:07 -0700 (PDT) Date: Mon, 7 Oct 2019 14:19:06 +0200 From: Tomas Vondra To: Mageshwaran Janarthanam Cc: pgsql-general@postgresql.org Subject: Re: Install postgres on rhel 7 Message-ID: <20191007121906.f2i7uvpx2yqauqez@development> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Mon, Oct 07, 2019 at 01:00:32AM -0400, Mageshwaran Janarthanam wrote: >Hi Team, > >I have question on the postgres install process. Tried to read the archives >but couldn't find it. > >I wanted to install postgres server via rpm and wanted to store the >binaries under non default location like /pgbin. > The rpm package (at least not those available at yum.postgresql.org) are not relocatable: rpm -qpi postgresql12-12.0-1PGDG.rhel7.x86_64.rpm | grep Relocations Relocations : (not relocatable) So unfortunately, you'll have to build your own packages, or something like that. regards -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services