The instructions on this page are for the very very outdated KDE 3.4.3. To get KDE4, follow the Techbase instructions for Solaris to compile it yourself.
KDE 3.4.3 Installation Instructions
Here are the outlined steps for installing and configuring KDE:
0. Make sure you have at least 1.8GB free space under /opt -- this is where KDE and the required libraries will be installed. Also, make sure you are root. If you cannot be root, do not attempt to install KDE. The end result will be a big mess at best. 1. Make sure you have installed the UTF-8 localization files. KDE requires UTF-8 (they are available on the Solaris installation DVD). If you do not have them installed, insert the Solaris DVD in your DVD drive, and do: #> localeadm -a <LANGUAGE> -d /cdrom/sol_10_106_sparc/S0/Solaris_10/Product/ where <LANGUAGE> is, for example, en_US, or fr_FR, or it_IT, etc. 2. Download all the packages (*.tar.bz2) under REQUIRED: KDEkderequired-343.tar.bz2 KDEkderuntime-343.tar.bz2 KDEpinentry-072-343.tar.bz2 KDEqt-334.tar.bz2 KDEblender-237a.tar.bz2 You should download the packages in a directory where you have a LOT of free space available (like /var/tmp, or somewhere else -- it does not really matter where they are downloaded at all). 2. For each of the packages above, do: #> bunzip2 <package-name>.tar.bz2 #> tar xvf <package-name>.tar At this point, you should have a file, and a directory: <package-name>.tar <-- the tar archive file <package-name> <-- the actual "package" directory 3. Stay in the same directory you are in right now -- do not cd to the package directory. :-) 4. To install the package, do: #> pkgadd -d `pwd` <package-name> # backticks, not single-quotes For example, to install KDEkderequired-343, you do: #> bunzip2 KDEkderequired-343.tar.bz2 #> tar xvf KDEkderequired-343.tar #> pkgadd -d `pwd` KDEkderequired-343 The package installer will ask you a few questions ("are you sure you want to install this package?", etc). Just answer 'y' or 'yes' (without the quotes). You should now see the installer print out the names of the files it is installing. If you get an error with KDEkderequired-343 about a file located under /opt/fsw4sun/cups-1.1.23/etc/certs/0, please ignore this error. This file gets re-created every time cups starts up, so it is completely unimportant. 5. After the package has been installed, you can remove the tar archive file for the package, and the package directory itself. For example, for KDEkderequired-343, you do: #> rm -f KDEkderequired-343.tar #> rm -rf KDEkderequired-343 This is just to avoid running out of disk space. 6. Repeat this procedure with all the packages in REQUIRED, in the order indicated above. 7. When you are done with REQUIRED, you can move on to installing KDE per se. You should install KDE in the following order, using the same installation method described above. The KDE distro packages should be installed in the following order: KDEkdearts-343 KDEkdelibs-343 KDEkdebase-343 KDEkdenetwork-343 KDEkdepim-343 KDEkdegraphics-343 KDEkdemultimedia-343 KDEkdegames-343 KDEkdeartwork-343 KDEkdeutils-343 KDEkdeadmin-343 KDEkdeaddons-343 KDEkdesdk-343 KDEkdetoys-343 KDEkdeedu-343 KDEkdebindings-343 KDEkdeaccessibility-343 KDEkdewebdev-343 KDEkdevelop-323 KDEscribus-131-343 KDEk3b-01210-343 8. You are finished installing KDE. Now, you should configure your KDE dtlogin session (which makes KDE appear as an option on the Session drop-down menu in dtlogin). This is very simple. There is a small program in /opt/kde-3.4.3/bin/mkdtlogin. This program will create your dtlogin session files. The only thing you have to do is to run it as follows: #> mkdtlogin -b /usr -l fr_FR.UTF-8 This will create all your dtlogin session files for fr_FR.UTF-8. After doing this, if you do a "Reset Login Screen" from the dtlogin screen, you should see an entry for "KDE 3.4.3 32-bit [fr_FR.UTF-8]", for example (if you have configured mkdtlogin for fr_FR). 9. You are almost done. Now you have to install the KDE localization files for the languages you have chosen (the kde-i18n-* files). These files are not part of the distro, simply because they are too big, and noone really installs all of them -- everyone only needs two or three at most. So, you can download the kde-i18n-* package you need from KDE (or one of the mirrors -- i included a list of good mirrors at the bottom of this email), and you only have to do very few things: - download the 'runConfigure.kde343.i18n' script from the KDE mirror (exact location is at the bottom of this email), and save this script, you will need it. - unpack the archive(s): #> bunzip2 kde-i18n-<language>.tar.bz2 #> tar xvf kde-i18n-<language>.tar At this point, you have one directory and one file: kde-i18n-<language>.tar <-- the archive file kde-i18n-<language> <-- the directory with KDE localization files Now you do: #> cd kde-i18n-<language> (change directory to the kde-i18n-* localization package). In this directory, there is a script named "configure". You will have to do some very light editing on this script: replace all instances of /bin/sh with /bin/bash. For example, in vi, you do: :1,$ s#/bin/sh#/bin/bash#g :wq That's it. Now you can copy the 'runConfigure.kde343.i18n' script you have downloaded, into this (current) directory, and then just run it: #> ./runConfigure.kde343.i18n This will run the 'configure' script, which creates all the Makefiles. These Makefiles don't actually compile anything, the only thing they do is create the INSTALL: directive for gmake. When 'runConfigure.kde343.i18n' is finished, you do: #> gmake install And this will install your localization files in /opt/kde-3.4.3. To make certain that ownership of localization files is correct, you can do #> chown -Rh root:sys /opt/kde-3.4.3/share/ You can repeat this procedure for all the languages and localization files you need. 11. Almost there. Now it's time to install all the binary patches (download location is indicated at the bottom of this writeup). The patches are packaged exactly like the distro packages, only the Solaris patch installation is a little different: For each patch package, you do: #> bunzip2 <patch>.tar.bz2 #> tar xvf <patch>.tar #> patchadd -M `pwd` <patch> For example, to install patch KDE20060107-01, you do: #> bunzip2 KDE20060107-01.tar.bz2 #> tar xvf KDE20060107-01.tar at this point you have one file and one directory: KDE20060107-01.tar <-- the archive file KDE20060107-01 <-- the actual patch directory Stay in the same directory you are in right now; do not cd to the patch directory. :-) Now you do: #> patchadd -M `pwd` KDE20060107-01 This will tell you about installing the patch, and then it should end with "Patch <patch-name> has been successfuly applied" (or something like that). Once you are done installing a patch, you can delete the patch tar archive and the patch directory itself: #> rm -f KDE20060107-01.tar #> rm -rf KDE20060107-01 Then, repeat this for every patch. The patch naming convention is: KDEYYYYMMDD-<patch-sequence-number>. Thus, every KDE patch tells you the exact date it was released, and its sequence number. Binary patches should be applied in chronological order (oldest patches first). Also, keep in mind that not all patches are dual platform. In other words, certain patches exist only for IA32AMD32, and certain others exist only for UltraSPARC-II. Now, KDE is installed and patched. You can now move on to the final KDE specific configuration of your system (there are a few configuration files which need editing): /etc/pam.conf /etc/rpc /etc/services And there are also a few configurations you need to do for your CD/DVD burners. At the bottom of this email you can find the URL for the INSTALLATION and configuration directory, with explanations and examples for all the configurations you have to do. After you have configured everything, you are finally DONE!!! :-) Now, you can logon to KDE. If you select the KDE 3.4.3 entry from the "Session" menu in dtlogin, and login, you should see the KDE startup blue screen, followed by the Konfigurator (since this is the first time you are starting KDE). Here's an example of a KDE mirror where you can find everything: http://ftp.tiscali.nl/sunfreeware/KDE/ (the toplevel directory) http://ftp.tiscali.nl/sunfreeware/KDE/INSTALLATION/ (installation and configuration instructions for KDE 3.4.3, including /etc/pam.conf, /etc/services, /etc/rpc, CD/DVD burners). In this directory, you should see the following subdirectories: DTLOGIN.INSTALL/ DVD.INSTALL/ FAM.INSTALL/ I18N.INSTALL/ PAM.INSTALL/ http://ftp.tiscali.nl/kde/stable/3.4.3/contrib/Solaris/SUNSTUDIO10/INSTALLATION/I18N.INSTALL/ (where you can find the 'runConfigure.kde343.i18n' script for the kde-i18n-* localization files) http://ftp.tiscali.nl/kde/stable/3.4.3/contrib/Solaris/SUNSTUDIO10/IA32AMD32/REQUIRED/ (where you can find the REQUIRED packages for X86) http://ftp.tiscali.nl/kde/stable/3.4.3/contrib/Solaris/SUNSTUDIO10/IA32AMD32/KDE/ (where you can find the KDE distro per se for X86) http://ftp.tiscali.nl/kde/stable/3.4.3/contrib/Solaris/SUNSTUDIO10/IA32AMD32/PATCHES.BINARIES/ (where you can find the binary patches for X86) http://ftp.tiscali.nl/kde/stable/3.4.3/contrib/Solaris/SUNSTUDIO10/ULTRASPARC-II/REQUIRED/ (where you can find the REQUIRED packages for UltraSPARC) http://ftp.tiscali.nl/kde/stable/3.4.3/contrib/Solaris/SUNSTUDIO10/ULTRASPARC-II/KDE/ (where you can find the KDE distro per se for UltraSPARC) http://ftp.tiscali.nl/kde/stable/3.4.3/contrib/Solaris/SUNSTUDIO10/ULTRASPARC-II/PATCHES.BINARIES/ (where you can find the binary patches for UltraSPARC) ftp://ftp.kde.org/pub/kde/stable/3.4.3/src/kde-i18n/ (where you can find all the kde-i18n-* localization packages) This is just an example of a KDE mirror. If you search for 'KDE 3.4.3 Solaris' in Google, you will find many mirrors. Have Fun with KDE!! Stefan Teleman
Last update : 2006/02/23 23:22:52 EST.
[ Edit ]