-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Monday 2007-04-30 at 09:20 +0200, Pascal Bleser wrote:
Carlos E. R. wrote:
No, I mean it: use /usr, not /usr/local
So, you make a package "foo" yourself, e.g. with checkinstall. You prefix it to /usr/local because you don't redistribute it, because it's a "local package" (whatever that means: a package is either in the RPM database or not, there is no "local RPM database").
I know there is no local rpm database. So what? For one thing, I always update the system, so the database remains. I still keep packages I installed five years ago, listed in the rpm list. And even if I don't, I will still have my programs; orphaned from the database, but still there. If they sit in /usr, I loose them, which is worse.
and hence, the files of your package in /usr/local won't be in the RPM database (which is the same as having installed it with "make install" in the first place).
Ie, SuSE does not use "/usr/local" because it is reserved for *you*. ;-)
No, I stick with what I said: /usr/local is for what you install with "make install", not for RPMs (including RPMs built with checkinstall).
And I stick with my opinion of using /usr/local - we agree to disagree :-) If you worry about conflicts, then leave the local paths last. The non local version will be used.
One more detail: you will see that users may have the /usr/local/bin first in their path, but often root does not even have it included - on purpose so as to execute "official" programs only.
Define "official". Packages redistributed in the openSUSE Build Service, Packman, Guru, suser-*, etc... are all prefixed to /usr and not /usr/local.
Well, let's say packagers that provide official or semioficial packages. Whatever. Notice the "quotes", meaning the meaning of "official" is not strict. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFGNcAjtTMYHG2NR9URAswJAJ4nQyRFqPHB35sljxd9qYMAae8ImwCcCMZR lTHxA5x90KPONrBFc195Sxg= =NXK4 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org