[Fedora-packaging] Conflicting binaries location

Christopher Meng cickumqt at gmail.com
Wed Jul 2 19:01:32 UTC 2014


Hi,

I'd like to know how to avoid such case:

package foo(being packaged) provides:

/usr/bin/foo

And package bar used to provide it as well at the same location, but
since releases ago it has changed to:

/usr/lib/bar/bin/foo

My question is, where is the best location for such binaries? My
opinion is these 3:

/usr/lib/foo/bin/? (this package provides libs, but underneath
/usr/lib/foo-$(VERSION))
/usr/libexec/foo/? (or even /usr/libexec/ because I only have one binary)
/usr/bin/foo/?

But I don't know which one is better, any ideas?

Thanks.

Yours sincerely,
Christopher Meng

Noob here.

http://cicku.me


More information about the packaging mailing list