Re: Compiling to RPM setup/filesystem layout

From: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
To: "Steve Wolfe" <steve(at)iboats(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Compiling to RPM setup/filesystem layout
Date: 2001-06-01 19:56:26
Message-ID: 01060115562600.00914@lowen.wgcr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-ports

-----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-----

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ian Harding 2001-06-01 20:01:08 Re: Pltcl kills postmaster...
Previous Message Jan Wieck 2001-06-01 19:51:20 Re: Pltcl kills postmaster...

Browse pgsql-ports by date

  From Date Subject
Next Message Lamar Owen 2001-06-01 20:36:06 Re: Re: [GENERAL] Compiling to RPM setup/filesystem layout
Previous Message Peter Eisentraut 2001-06-01 15:07:14 Re: [GENERAL] Compiling to RPM setup/filesystem layout