LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-07-2013, 03:14 PM   #1
PeterUK
Member
 
Registered: May 2009
Posts: 281

Rep: Reputation: 16
Slackware- Help installing LibreOffice


I decided to open a new thread about this because is a lot to post and its getting messy in the other one (title "..software")

I am trying to install LibreOffice on Slackware.

I downloaded:

Code:
http://download.documentfoundation.org/libreoffice/stable/4.0.2/rpm/x86_64/LibreOffice_4.0.2_Linux_x86-64_rpm.tar.gz
http://download.documentfoundation.org/libreoffice/stable/4.0.2/rpm/x86_64/LibreOffice_4.0.2_Linux_x86-64_rpm.tar.gz.asc
http://download.documentfoundation.org/libreoffice/stable/4.0.2/rpm/x86_64/LibreOffice_4.0.2_Linux_x86-64_rpm_helppack_en-GB.tar.gz
But I got the Build file from:

PHP Code:
http://slackbuilds.org/slackbuilds/14.0/office/libreoffice.tar.gz
on http://slackbuilds.org/repository/14.0/office/libreoffice/
which is for  libreoffice (3.6.4
Now where I am:

I modify libreoffice.SlackBuild from the 3.6.4

Code:
You can fine the modification here
And the original can be evaluate here
If you are following you need to rename the files to:

Code:
LibreOffice_4.0.2_Linux_x86-64_rpm_helppack_en-GB.tar.gz
LibreOffice_4.0.2_Linux_x86_rpm_en-GB.tar.gz
Now the output to run the Slackbuild file:

Code:
This output can be found here
Now if you look at the output file end it give me some Warning message. How can I eliminate them? It need to be able to see the help files. Do you know how to add them to the build script?
 
Old 04-07-2013, 03:29 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
The easiest way to run the latest LibrOffice on Slackware 14.0 would be to just download the Slackware packages from AlienBob and install them: http://connie.slackware.com/~alien/s...s/libreoffice/
 
2 members found this post helpful.
Old 04-07-2013, 03:47 PM   #3
PeterUK
Member
 
Registered: May 2009
Posts: 281

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by TobiSGD View Post
The easiest way to run the latest LibrOffice on Slackware 14.0 would be to just download the Slackware packages from AlienBob and install them: http://connie.slackware.com/~alien/s...s/libreoffice/
Yes but there is not the packages if not the ones after build, right?

I am trying to learn slackware so I guess is a good exercise to learn to create Build files. If I would have the easy way I would have stay in my Ubuntu boot. ;-).

I think I am not far could you please help I just need to add the help files but also looking at the file while I was creating this post it used some files called en-US I am not sure if I will need the en-US files?
 
Old 04-07-2013, 05:32 PM   #4
BlackRider
Member
 
Registered: Aug 2011
Posts: 295

Rep: Reputation: 101Reputation: 101
Quote:
Originally Posted by PeterUK View Post
I am trying to learn slackware so I guess is a good exercise to learn to create Build files. If I would have the easy way I would have stay in my Ubuntu boot. ;-).
LibreOffice of SlackBuilds.org is not a common build. It is a repackaging of a pre-packaged and pre-compiled application. It is not really good if you want an example of how to make Build files.

The warnings you refer to are cosmetic only and should not be a problem. Have you tried to install the resulting package and test if it works?
 
Old 04-08-2013, 04:49 PM   #5
michaelslack
Member
 
Registered: Feb 2013
Location: Sydney
Distribution: slackware
Posts: 110

Rep: Reputation: 36
Hi PeterUK,

If you are interested in learning about slackbuilds, can I suggest that you look through the slackbuilds.org templates page?It helped me understand several aspects of such things that had been a bit unclear:

http://slackbuilds.org/templates/

Michael
 
Old 06-26-2020, 01:14 AM   #6
Cabbie001
Member
 
Registered: Jan 2020
Location: Canada
Distribution: Slackware64 15.0; Devuan Beowulf 3.0 (64bit)
Posts: 169

Rep: Reputation: Disabled
LibreOffice on Slackware

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

Last edited by Cabbie001; 01-25-2023 at 02:07 PM.
 
Old 06-26-2020, 01:39 AM   #7
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by Cabbie001 View Post
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
I understand your drive to share knowledge, but necro-posting is never a good idea. The information in a 7-year old thread is likely no longer relevant.

For your information, SlackBuilds.org does already provide a script which fully automates the conversion of Libreoffice binary RPMs to Slackware packages, see https://slackbuilds.org/repository/1...e/libreoffice/
 
1 members found this post helpful.
Old 06-27-2020, 11:10 AM   #8
Cabbie001
Member
 
Registered: Jan 2020
Location: Canada
Distribution: Slackware64 15.0; Devuan Beowulf 3.0 (64bit)
Posts: 169

Rep: Reputation: Disabled
Quote:
Originally Posted by Alien Bob View Post
I understand your drive to share knowledge, but necro-posting is never a good idea. The information in a 7-year old thread is likely no longer relevant.

For your information, SlackBuilds.org does already provide a script which fully automates the conversion of Libreoffice binary RPMs to Slackware packages, see https://slackbuilds.org/repository/1...e/libreoffice/
Thanks Eric. Sorry about the "necro-posting" (did not know that was a thing). However with all due respect I don't think the issue of LibreOffice updates has become irrelevant. I just recently (like last week) upgraded my system to 64-bit, which is what forced me to re-install all the SlackBuilds which I'd previously done in 32-bit Slackware. In most cases this is straightforward and I am very appreciative of all the work done by the creators of the elegant SlackBuilds, including yourself. There are only a few applications that present complications -- like LibreOffice and Calibre for example. I did see the SlackBuild you provided the link to; however it is for version 6.2.8.2, while the current LibreOffice is 6.4.4.2, and they seem to update fairly often. That's what led me to put together my quick-and-dirty script. Of course by reversing the order of the packages list and substituting removepkg for installpkg, you can quickly uninstall the lot prior to any subsequent upgrades.

Btw, I like your article on the Digital Audio Workstation. Fascinating.
Cheers.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] LibreOffice or OpenOffice for Slackware 14.0 32-bit? tronayne Slackware 8 02-14-2013 01:15 PM
[SOLVED] libreoffice won't start on slackware-14rc1 fl0 Slackware 1 08-12-2012 02:41 AM
LXer: LibreOffice Tips: Inserting QurĂ¢??an text in LibreOffice Writer LXer Syndicated Linux News 0 04-16-2012 02:50 PM
Installing Libreoffice..I'm almost there rye37 Linux - Newbie 35 06-18-2011 05:31 PM
LibreOffice installing TheStefan12345 Linux - Newbie 3 01-28-2011 06:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration