Re: [opensuse] building RPMs



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


The Sunday 2007-04-29 at 23:04 +0200, Johannes Nohl wrote:

...

Most sources configured will install to /usr/local. I usually change
this with --prefix to /usr. What I always wanted to know is if there's
a global config to change it to /usr.

Is anything wrong with /usr/local? SUSE don't use it as I could see.

No, you should use "/usr/local", not "/usr", you got it wrong. The local
tree is reserved precisely for those packages compiled /locally/, whereas
the packager of the distro uses "/usr". This way it is easy to know which
version is the "official" one and which is yours.

Some people use a separate partition for /usr/local, so that we can format
"/" while keeping our /usr/local intact.

Ie, SuSE does not use "/usr/local" because it is reserved for *you*. ;-)


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.

- --
Cheers,
Carlos E. R.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFGNR0utTMYHG2NR9URAhcIAKCTr6sFiReX1hhFbI0VeMQGdjhUpwCghqVt
70SMVKSSgD55v8+a7DxRcyk=
=j51v
-----END PGP SIGNATURE-----

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages