how do i isntall kde?

i installed gnome so how do i install kde through terminal or some where else?

use Yast - software management
filter by Patterns
check
kde3base
kde3desktop

then later add this repo to your repo list, if you want the very latest ver.
Index of /repositories/KDE:/KDE3/openSUSE_11.0
and use software management - filter by repo - select new kde3 and update all in list

disable auto login so you can select which desktop you want at boot

found kde3base not kde3desktop

well kde3desktop is there
Patterns
then under the heading Graphical Environments

you need the main repo
Index of /distribution/11.0/repo/oss

and you should have this too though not needed for kde
Index of /distribution/11.0/repo/non-oss

here is a screenshot

http://files.opensuse.org/opensuse/en/7/7f/Patterns_view.jpg