Running KDE 2.x and KDE CVS on Same MachineQ. Can I run KDE 2.x and KDE CVS on the same machine?Yes! You can run any number of different versions of KDE on the same machine. This allows you, for example, to keep a stable & reliable version of KDE, yet try out the latest release. For developers it's often useful to compare the behavior of a bug on multiple releases. Step 1: Get readyKDE can install in many ways. KDE may be scattered among assorted system directories (like "/usr/bin" and "/usr"). The prepackaged binarary distributions (like RedHat rpm's) are often hardwired to one directory scheme, and limit you to one version of KDE.KDE can also run out of a single self-contained user directory. If you're willing to compile it yourself, you can run as many different KDE versions as space permits. Compile each to a different target location, and keep seperate ".kde" directories for each version. Step 2: Check your P's & QT's, compile safelyIt's easy to make a mistake compiling a second KDE. You must be sure to get only the include files, KDE libraries and QT libraries that you have compiled. At the time the "configure" script is run, be sure to have the $KDEDIR and $QTDIR environment variables set to your intended locations. Make sure your library loader is looking for libraries the proper location. For example:
Step 3: Start KDEThe following example is the proper setup of/etc/X11/xinit/Xclients for RedHat Linux. Note that KDE 3 is given a seperate ".kde" directory. Other distributions will be similar in spirit. Find how your current KDE is started, and extend the same mechanism.Warning: The ".kde" directory is used to store settings for KDE and KDE programs (including, unfortunately, Konqueror bookmarks). It's not compatible from version to version. For example, if you let KDE 3 attack this directory, it will never run on KDE 2 again. Be sure to set $KDEHOME as the example does:
Step 4: Try it out, solve problemsYou may have to delete some of the "mcop" and "dcop" temporary files that kde writes in /tmp.See the kde-config FAQ for information on how to verify your KDE path settings are correct. Enjoy! |
KDE and K Desktop Environment are trademarks of KDE e.V.