To install KOffice from precompiled binaries, you should:
Ensure your computer has all of the required software installed and in working condition (excluding KOffice of course). You can find the system requirements by following this link: System Requirements.
If the filename ends in .rpm (Redhat Package Management file), KOffice can be installed with the following command:
$ rpm -U filename
If the filename ends in .deb (Debian Package file), KOffice can be
installed with the following command:
$ dpkg -i filename
If the filename ends in .tar.gz or .tgz (a tarball file), KOffice can be
installed with the following command:
$ cd / $ tar -xzvf filename