Complete instructions on installing KOffice from source are located at https://www.koffice.org/download/source.php.