-   Linux - Software (
-   -   Howto upgrade KDE & QT keeping old ones and how to start the new ones? (

rylan76 05-16-2005 01:48 PM

Howto upgrade KDE & QT keeping old ones and how to start the new ones?
Hi all,

I want to upgrade my KDE and QT versions - without breaking my old ones, and keeping the old ones accessible.

I think I can do his by compiling all the source with the --prefix= line in the call to each packages' configure script. Is this correct?

But how do I run the new KDE and QT? Presently I boot in runlevel 3, and go into X with "startx" (on RedHat 9, kernel 2.4.20-8). I am guessing I will need to write my own custom "startx", which is a script?

I am envisioning a situation where I can do "startx" (to start KDE 3.1, using my old QT libs) and "startxnew" (to start KDE 3.2 using my new QT libs).

Is this at all possible? Can you run / have two KDE versions and two QT versions on one machine, but run each one seperately? How can I force the (I am guessing I will need to do this) the "new" KDE to use the "new" QT libraries, and NOT the old ones when compiling? But still have the "old" KDE find any dynamic libs it needs?

Put the -prefix= path at the start of my environment $PATH?

Any ideas or pointers?


d3viant 05-16-2005 02:02 PM

I find the best way is to use konstruct. (at This downloads the kde build of your choice and compiles and installs it for you in a seperate folder. You can then configure your login manager of choice to have an entry for the old kde, (leave default paths) and the new kde (default paths within the subfolder). I havent used konstruct recently so it might do the login manager config for you. Konstruct is specifically designed to run seperately from any other version of kde, so it shouldnt affect an existing install.

rylan76 05-16-2005 03:48 PM

Thanks that seems exactly what I need - I read the readme for it and the only thing that is unclear is the suid-root - how do I set a certain file to run "suid-root"? What do I use? Chmod?

Again, thanks for helping out!

d3viant 05-17-2005 06:57 AM

just use vi to type the command into a new sh file. save the sh file and do "./" to run it

All times are GMT -5. The time now is 11:57 AM.