

If you want to build KOffice from source code, you should:
Ensure your computer has all the required software installed and in working condition (excluding KOffice of course). You can find the system requirements by following this link: System Requirements.
Download the KOffice source file into a temporary folder.
If the filename ends in .src.rpm
(Red Hat® Package Management file), the source code for KOffice can
be installed with:
$rpm-Ufilename
If the filename ends in .src.tar.gz or .src.tgz (a tarball file),
the source code for KOffice can be installed with:
$tar-xzvffilename
The source code for KOffice should now be installed on your system.