For those interested in installing LibreOffice 6 RPM binary by hand, read on. An alternative is to use Alien's packages (https://alien.slackbook.org/blog/ - http://www.slackware.com/~alien/slackbuilds/) or compile LibreOffice itself, which should take some time.
I'm using LibreOffice_6.0.2_Linux_x86-64_rpm.tar.gz in this guide, but it should work with any recent version.
$ mv LibreOffice_6.0.2_Linux_x86-64_rpm.tar.gz /tmp
$ cd /tmp
$ tar zxf LibreOffice_6.0.2_Linux_x86-64_rpm.tar.gz
$ cd LibreOffice_6.0.2.1_Linux_x86-64_rpm/RPMS/
$ sudo rpm2tgz -c '*.rpm'
If sudo or rpm2tgz aren't found in your $PATH, just use the complete path to those commands.
$ rm *.rpm
The RPM's aren't needed anymore
$ /sbin/explodepkg *.tgz
$ cd opt/ && ls
$ mv libreoffice6.0 /opt
$ cd opt/ && ls
$ sudo chown -R root:root libreoffice6.0
Now you can symlink to soffice (I use /opt/libreoffice6.0/program/soffice).
Post last edited at