On Fri, 31 Aug 2001, Gerhard Schuck wrote:
> Is it possible to install two versions of LyX at the same time without any
Everything is possible, it's just matter of work.
You could install two LyXes easily from source into different directories
using the --prefix= with two different paths. However, LyX also writes
some configuration files into your home directory. This is almost
certainly taken from the HOME environment variable, so you could do
something like this:
cd normal-lyx
./configure --prefix=/usr/normal-lyx
make
make install
cd cjk-lyx
./configure --prefix=/usr/cjk-lyx
make
make install
cat >/usr/bin/normal-lyx
#!/bin/sh
HOME=$HOME/normal-lyx
exec /usr/normal-lyx/bin/lyx
^D
cat >/usr/bin/cjk-lyx
#!/bin/sh
HOME=$HOME/cjk-lyx
exec /usr/cjk-lyx/bin/lyx
^D
chmod +x /usr/bin/normal-lyx /usr/bin/cjk-lyx
And then create subdirectories normal-lyx and cjk-lyx into your real home
directory. This solution might not work out-of-the-box but it should give
you some idea how to do it.