LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   LibreOffice or OpenOffice for Slackware 14.0 32-bit? (https://www.linuxquestions.org/questions/slackware-14/libreoffice-or-openoffice-for-slackware-14-0-32-bit-4175450144/)

tronayne 02-14-2013 10:39 AM

LibreOffice or OpenOffice for Slackware 14.0 32-bit?
 
OK, I've done clean installations of Slackware 14.0 32-bit on two desktops (not mine) and have hit a conundrum: where can I get either OpenOffice or LibreOffice, I really don't care which, that will install in /opt (preferably with a SlackBuild)?

SlackBuilds.org does not point to a valid web address for download of either one. I've gotten Alien's packages but they install in the root, not in /opt (where I really, really want them to be -- both machines have small root partitions and, you know, I don't what to have to completely rebuild these blasted things). Too, neither one of the SlackBuilds point at the current stable versions of either one. Or at any stable version for that matter.

Been fiddling, looking, editing with no joy in Mudville (well, Iceville right now) and would really appreciate a hint.

onebuck 02-14-2013 11:05 AM

Member Response
 
Hi,

From Alien_Bob LibreOffice 4.0.0 has been released;
Quote:

Packages can be downloaded from one of the mirrors, and keep in mind that they were built on Slackware 14, which will make them unfit for Slackware 13.37 or earlier (but of course the packages will work on slackware-current):
Remember, you can subscribe to the repository’s RSS feed if you want to be the first to know when new packages are uploaded.

tronayne 02-14-2013 11:44 AM

Thanks for that -- already did it, got the packages (not all the source, good lord, how many hours will that stuff take to download!) and, yup, they install in the root tree.

So, OK, try
Code:

installpkg --root /opt/LibreOffice *.t?z
Nope, that don't work.

Maybe try --root /usr/local, maybe not, probably the same thing will happen.

Arrggh!

I'll keep digging.

willysr 02-14-2013 11:51 AM

If you want to change the location of the installation path, you would need to rebuilt the source

onebuck 02-14-2013 12:24 PM

Member Response
 
Hi,

Quote:

Originally Posted by tronayne (Post 4891651)
Thanks for that -- already did it, got the packages (not all the source, good lord, how many hours will that stuff take to download!) and, yup, they install in the root tree.

So, OK, try
Code:

installpkg --root /opt/LibreOffice *.t?z
Nope, that don't work.

Maybe try --root /usr/local, maybe not, probably the same thing will happen.

Arrggh!

I'll keep digging.

Just open terminal if you are in a Desktop or from console enter 'su -' then enter password. Once your at the commamd line in the directory you download to then just use 'installpkg libreoffice-4.0.0-i486-1alien.txz' & 'installpkg libreoffice-l10n-en_GB-4.0.0-i486-1alien.txz'. You could check the 'md5sum' before you install but the packages do self verify.
HTH!

Alien Bob 02-14-2013 12:31 PM

He wants the binaries to install to the /opt directory, onebuck. None of my Slackware-built packages will install into /opt ... you will have to compile from source tronayne.

And next time you install Slackware, give the root partition an adequately large size. Installing to /opt is not common on Linux, it is a UNIX target. Some of the binary-only software like the Citrix Receiver uses /opt as a target but it is a rare event.

Eric

tronayne 02-14-2013 12:36 PM

Well, nevermind -- I find the needed RPM at http://www.libreoffice.org/download/...&version=3.6.5, edited the version number in libreoffice.SlackBuild, built it and it installs in
Code:

ls /opt
Adobe/  libreoffice3.6/  lost+found

And all is well that ends.

Thanks to all for the help.

tronayne 02-14-2013 12:50 PM

Quote:

Originally Posted by Alien Bob (Post 4891689)
He wants the binaries to install to the /opt directory, onebuck. None of my Slackware-built packages will install into /opt ... you will have to compile from source tronayne.

Well, as noted, I finally figured out where to find the blasted RPM (dang, those guys made their stuff a little, tiny, itsy-bitsy hard to find.
Quote:

Originally Posted by Alien Bob (Post 4891689)
And next time you install Slackware, give the root partition an adequately large size. Installing to /opt is not common on Linux, it is a UNIX target. Some of the binary-only software like the Citrix Receiver uses /opt as a target but it is a rare event.

Eric

Yup, know that, thanks, but they aren't my boxes and they were built is 10G root partitions (and /opt, /usr/local, /home, /var/lib/mysql and /var/lib/psql as mounted file systems). My own boxes are configured the same way, but I give 'em a 20G root (and 20G or more for the others, particularly the data base directories), idea being that a clean install can be done without have to back everything off somewhere or other then restore it (I just don't have the best luck doing updates instead of a clean install). I mean, I copy off /etc and some other stuff to make it easier, but I just more or less prefer a clean install.

I also have a preference for installing "optional" software in /opt rather than spreading it all over the system directories and any SlackBuilds packages get edited to install in /usr/local; just a thing I have developed over the last 30 years or so based on a philosophy of Thou Shalt Not Mess With The Root Tree. No big deal, just what I like, doesn't hurt performance and it works for me.

Thanks for the note.

onebuck 02-14-2013 01:15 PM

Member Response
 
Hi,
Quote:

Originally Posted by Alien Bob (Post 4891689)
He wants the binaries to install to the /opt directory, onebuck. None of my Slackware-built packages will install into /opt ... you will have to compile from source tronayne.

And next time you install Slackware, give the root partition an adequately large size. Installing to /opt is not common on Linux, it is a UNIX target. Some of the binary-only software like the Citrix Receiver uses /opt as a target but it is a rare event.

Eric

Missed that! I thought he wanted to install the package and knowing the compile was setup for normal install.


All times are GMT -5. The time now is 12:51 AM.