Hi guys. I see this post is dated but the issue of installing LibreOffice on Slackware is an important one since it's such a large software suite and those of us who use it a lot think it's essential
I see there's a SlackBuild approach and that compiling everything from source is the preferred Slackware way; however I have found that the simplest method is to download the packages from their own website (
https://www.libreoffice.org/download/download/) which always provides the most current version. You can select from either RPM or DEB packages in a tar.gz archive, which results in an install script and a folder containing 42 separate RPM packages. Since in Slackware you need to convert the RPM packages to TGZ prior to installing with "installpkg", the easiest way is to simply do that sequentially for all 42 files in the archive, then install them sequentially in the order they appear in the "ls" command.
libobasis6.4-base-6.4.4.2-2.x86_64.tgz
libobasis6.4-calc-6.4.4.2-2.x86_64.tgz
libobasis6.4-core-6.4.4.2-2.x86_64.tgz
libobasis6.4-draw-6.4.4.2-2.x86_64.tgz
libobasis6.4-en-US-6.4.4.2-2.x86_64.tgz
libobasis6.4-extension-beanshell-script-provider-6.4.4.2-2.x86_64.tgz
libobasis6.4-extension-javascript-script-provider-6.4.4.2-2.x86_64.tgz
etc, etc.
This results in a stable running version of LibreOffice, with the executable found at:
/opt/libreoffice6.4/program/soffice
Anyone with shell scripting experience should be able to cobble together a script to automate this process, as I have done.
The single script can perform the entire sequence in 3 steps: Format conversion with rpm2tgz; Deletion of the original RPM files; then Installation of the 42 TGZ packages.
Attachment "libreoffice-batch.pdf" shows my version of the script which works well and saves the tedium of cut/pasting the package names for conversion, deletion, and installation 42 times. Feel free to incorporate that into a working script, or modify.
Cheers