Install KDE4 on a system with KDE3

Hallo, this is my first message on this forum :)
I installed KDE3 by the command pkg_add -r kde.
Now I'd like to install KDE4 on the same system.
Have I to uninstall KDE3 before? In this case which command have I to use?
Or may I install KDE4 without uninstalling anything?
Thx to all who'll reply me.
Have a nice day!

Federico
 
What I would do if had installed KDE3 by mistake:
[cmd=]# rm -rf qt\*[/cmd]
this also deletes old version of QT along with KDE3.
then run:
[cmd=]# pkgdb -F
# pkg_version -v | grep proto[/cmd]
very important are xproto and xcb-proto:
[cmd=]# portupgrade -r xproto
# portupgrade -r xcb-proto
# portupgrade -r <all other proto>
# portupgrade -a -P[/cmd]
last check is everything up-to-date:
[cmd=]# pkg_version -v
# cd /usr/ports/x11/kde4 && make install clean[/cmd]
This takes a while (at least 10 hours) so
if I prefer previous KDE4-4.2.4 then:
[cmd=]# pkg_add -r kde4[/cmd]

I am not sure if KDE3.5 will coexist with KDE4.3 but it will with KDE4.2 and I had such set in my box when KDE4 was a newbie. However it bothered me every time to edit /etc/ttys because in there tty8 is in charge:
Code:
/usr/local/bin/kdm (edit xdm to kdm) ...on (edit off) - for KDE3
/usr/local/kde4/bin/kdm ............ for KDE4

Good luck.
 
Back
Top