Re: Compiling to RPM setup/filesystem layout - Mailing list pgsql-general

From Lamar Owen
Subject Re: Compiling to RPM setup/filesystem layout
Date
Msg-id 01060115562600.00914@lowen.wgcr.org
Whole thread Raw
In response to Re: Compiling to RPM setup/filesystem layout  ("Steve Wolfe" <steve@iboats.com>)
List pgsql-general
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 31 May 2001 17:33, Steve Wolfe wrote:
> > On Thursday 31 May 2001 16:22, Steve Wolfe wrote:
>   I'm talking about a user installing software on his own.  Does the LFS
> and FHS still mandate it not go into /usr/local in that case?

But the PostgreSQL RPM's are used as a base for distributors' distributions,
which _do_ need to adhere to LSB/FHS.

> > traces of the RPMset is easier than removing all traces of a from-source
> > install.

>    Really?

> Let's compare removing the RPM's:
>   To removing the installation from source:
> rm -rf ~postgres/*
>   I think that the second is much easier, in my opinion.

Removing the RPM's -- assuming other software isn't install that depends upon
postgresql:
# /etc/rc.d/init.d/postgresql stop
# rpm -qa|grep ^postgresql|xargs rpm -e
# rm -rf /var/lib/pgsql

and you're done.

- From source:
Stop postmaster.
Remove /usr/local/pgsql/bin from the PATH of everybody who uses postgresql.
rm -rf /usr/local/pgsql
Edit /etc/ld.so.conf
Run ldconfig.

Looks longer, IMO.

- --
Lamar Owen
WGCR Internet Radio
1 Peter 4:11
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7F/Nt5kGGI8vV9eERAlGLAJ9HJuooAFF1noi79QE4/fePUwnT8wCfVF3y
fB3OGAKV3onXutMhDOJD8kQ=
=jxte
-----END PGP SIGNATURE-----

pgsql-general by date:

Previous
From: "Ian Harding"
Date:
Subject: Re: Pltcl kills postmaster...
Next
From: Jan Wieck
Date:
Subject: Re: Pltcl kills postmaster...