[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How to handle multiple versions of binaries



I'm currently massaging out packaging details for a particular game
server, and I'm not completely clear where I should place the ELF
binaries. The server will be started via a customisable initialisation
script and should not be manually started.

The script to start the server by hand will go in /usr/bin/, and can also
be started automatically at runlevel. I would like to place the ELF
binaries under /usr/lib/<package>

I've read through the packaging manual, and might be a little confused,
but it didn't seem quite clear on just where to put these.
If /usr/lib/<package> isn't the right place, where is? They need to be
somewhere not on PATH and under a subdir.

Also, I will be packaging up a minimal game dataset for the server, and I
want to have a script the admin can use to copy it somewhere under
/usr/local/games and customise it. Where should I install the sample
dataset? The manual seems to indicate /usr/share/doc/<package>/examples,
but that doesn't seem right to me in this case. My gut feeling is
/usr/lib/<package>/<base dataset> because it isn't meant to be used before
customisation.

-- Ferret no baka


Reply to: