James Duberg wrote:
> 
> It sounds like it creates an installation in one user's home directory,
> that everyone else uses. Is it better to wait until the rpm file is
> available from Linux-Mandrake (or whatever file from whatever distro),
> or does the tar.gz get you the same thing?

I don't remember exactly what the "multi-user release notes" say, but
here's how you do a multi-user installation from the tar.gz the "right"
way. Since it's been a while since I did this (I used it back when
debian's releases were months behind) things might have changed a bit
since, but the majority of it should be fine.

Become root.
cd /usr/local
tar zxvf mozilla-whatever.tar.gz
cd mozilla
export MOZILLA_FIVE_HOME=.
export LD_LIBRARY_PATH=.
touch chrome/user-skins.rdf chrome/user-locales.rdf
./regxpcom
./regchrome

You might want to also

ln -s /usr/local/mozilla/mozilla /usr/local/bin/mozilla

so that the mozilla binary will be in the default path.

I'd suggest logging out from root immediately after doing these steps
because the LD_LIBRARY_PATH setting is a theoretical security hole in
any other commands you run until root's shell exits.

These instructions assume GNU tools and the bash shell - in other shells
(including bare sh) the syntax for setting and exporting variables is a
bit different, and I've heard reports of versions of touch which will
only take one argument at a time, so you have to touch each file
separately. Most recent linux distributions standard install will work
with the instructions as given above, though.

I was partially involved in writing the multi-user installation
instructions, but things didn't turn out quite the way I hoped they
would. The idea of creating a script was that this script would come
with mozilla so you wouldn't have to create it; if you have to do it by
hand anyway you might as well just run the commands yourself. It's
simpler that way anyway. And if you're doing it by hand all the dirname
and $dist_bin stuff becomes redundant since you *know* what the
directories are called.

Stuart.

-- 
Stuart Ballard, Programmer
FASTNET - Internet Solutions
215.283.2300, ext. 126
www.fast.net

Reply via email to