Author Topic: LibreOffice Manager (lomanager)  (Read 128090 times)

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2848
    • other projects...
LibreOffice Manager (lomanager)
« on: June 25, 2009, 06:16:28 AM »
updated post on 2013-05-07

LibreOffice Manager, or lomanger, is a user-friendly tool to
a) install the latest LibreOffice in one of the 107 LibreOffice localizations,
b) add an additional LibreOffice localizations to an existing LibreOffice installation,
c) upgrade LibreOffice from any older version,
d) properly remove non-supported OpenOffice or LibreOffice installation.

Important note:
1) lomanager is the successor of getopenoffice and will remove any existing OpenOffice installation!
2) make sure to properly update your system before running lomanager!



Quick Instructions:
-> install the latest version (4.0.3, see last post in this thread)
-> run: PCmenu -> Office -> LibreOffice Manager
-> read the messages in the popup-windows, they are provided for a reason... ::)
-> read the Important notes in this post, they are constantly updated and contain additional useful information for a successful installation of LibreOffice.
-> LibreOffice Manager will download LibreOffice and related files (Help, language packs) from LibreOffice. When a new LibreOffice version is available you will have to run LibreOffice LibreOffice Manager again to update to the latest LibreOffice version.


LibreOffice Manager has the following features:
* LibreOffice-upgrade or installation: if you upgrade from an older LibreOffice-version then it will completely remove the older LibreOffice-version and replace it by the latest LibreOffice-version. This is necessary to avoid any upgrade issues. When upgrading all user customizations stored in the hidden directory in the user's Home directory ~/.libreoffice are backed up to the directory ~/.libreoffice_old which can then be used to restore your customizations.
* Fixing a borked LibreOffice-installation: if your LibreOffice-installation is corrupt, or LibreOffice does not work anymore for whatever reason you can run LibreOffice Manager, select your LibreOffice-locale, and you will get a fresh working installation of LibreOffice.
* Uninstall LibreOffice: use this option to completely and properly remove LibreOffice from your system.
* Backup personalized settings: your personalized LibreOffice settings are stored in a hidden directory in your Home directory: ~/.libreoffice When upgrading to a newer version of LibreOffice, LibreOffice Manager will backup this directory to ~/.libreoffice_old from which you can then copy back your personalized settings.
* Disk-space: LibreOffice Manager will check for sufficient disk-space before installing LibreOffice.
* Localization: Confirm to install the pre-selected LibreOffice-locale or add any other LibreOffice-locale from the list.
* LibreOffice dictionary: LibreOffice Manager will provide detailed instructions on adding a localized dictionary for LibreOffice in the file 'getLOdictionary.txt' which can be found in your Home folder. Note: this info is only provided and needed for non en_US LibreOffice localization. The en-US, french, and spanish dictionaries are already included by default.
And for those who did not use LibreOffice Manager to install LibreOffice: ensure LibreOffice is closed, then go here, download the appropriate dictionary, open it with LibreOffice, and follow the instructions.
* LibreOffice user language interface: LibreOffice Manager will provide detailed instructions on switching between or applying different installed LibreOffice-locales in a popup window and in the file 'getLOdictionary.txt' which can be found in your Home folder. Please note that any LibreOffice-locale added to the system will be available in LibreOffice regardless of your current system language. You can select any LibreOffice locale from the LibreOffice tab: Tools -> Options -> Language Settings -> Languages User Interface.

Important notes:
====================

1.) Instructions to install LibreOffice on multiple machines:
When running LibreOffice Manager you will have the option to keep the downloaded rpm-packages in /tmp/LO-rpms. You can then copy these LibreOffice-packages to a new empty folder, maybe best on a USB-drive. Next, plug the USB-drive in the different machine. On the USB-drive, open the folder with the LibreOffice-rpms. Open a konsole, cd to this folder, and then use the command:
Code: [Select]
/usr/bin/su -c 'apt-get install *.rpm' to install LibreOffice on the other machine. This should work fine if no LibreOffice was installed before on the other machine. Then close the konsole, safely unmount and remove the USB-drive. Plug the USB-drive to the next PC, etc.

1b) Alternative offline installation:
LibreOffice 3.6.5 or 4.0.3 en_US packages plus installer for 32- and 64-bit can be downloaded from here:
4.0.3:
- 32bit, 172 MB, md5sum: 76a097d87fa2419709ad3d21209fe2bf
- 64bit, 178 MB, md5sum: df6ffe93a1791eb0d255bccee867c451

3.6.5
- 32bit, 164 MB, md5sum: 0600f4fef7071c0a41c3c1bd047cd7c3
- 64bit, 180 MB, md5sum: 37a91141722e463b3c6a6e6d5d7743c2

Then follow these instructions on the new PC where you want to install LibreOffice:
a) if an older LibreOffice version is installed run lomanager and choose: Completely remove LibreOffice.
b) check in Synaptic that you have java-1.6.0-sun installed, if not, install it. Then close Synaptic.
c) copy the downloaded archive LO403_32bit.tar.gz or LO403_64bit.tar.gz into the user's Home directory, e.g., /home/Jim. Remove any previous directory LO-rpms. Next, extract the archive via a GUI-application or using the following command in a terminal, e.g. for the 32bit version:
Code: [Select]
tar xfz LO403_32bit.tar.gz You should now have a new directory LO-rpms in the user's Home directory, e.g., /home/Jim/LO-rpms
d) Open a terminal in the user's Home directory and enter (copy/paste) the following command:
Code: [Select]
/usr/bin/su -c 'LO-rpms/LO_OfflineInstall.sh' provide your root-password, and wait for the final window showing 'LibreOffice is now installed' to appear.

2.) Linux/MS-Windows dual-boot:
If you have a LibreOffice-document shared between the two operating operating systems:
* Always save the LibreOffice-document and exit LibreOffice before you shutdown the operating system,
* Never suspend one operating system and then work on the document in the other operating system,
* Avoid working on the document in MS-Office and LibreOffice, use only LibreOffice in both operating systems,
* Use a common font of the two operating systems for maximum compatibility. Either automatically done by LibreOffice Manager or manually: open Synaptic, search for and install webcore-fonts, then open LibreOffice and you will have the new default font Times New Roman and other common fonts available.

3.) LibreOffice does not start anymore:
* only for a given user: delete the hidden folder .config/libreoffice in the user's home directory, either graphically or open a konsole in your home-folder and enter in the konsole:
Code: [Select]
/bin/rm -fr ~/.config/libreoffice and then start LibreOffice again. Please be aware that deleting the folder .config/libreoffice will remove all LibreOffice-customizations of this user!
* not for root nor for any user: your LibreOffice setup/configuration is borked. Start LibreOffice Manager, select your locale, and a popup window will tell you that this LibreOffice-locale is already installed. In this window, press Cancel to reinstall LibreOffice. Please be aware that reinstalling LibreOffice will remove all LibreOffice-locales and all LibreOffice-customizations of all users!

4.) Other problems: open a konsole window, enter:
Code: [Select]
lomanager and post the konsole output here in this thread together with additional information like your window manager (KDE4, LXDE, etc), the PCLinuxOS version you use, is your system fully updated, do you get the same error when running lomanager as root, etc. Remember: detailed and concise information is a prerequisite to fix your problem and will help improving LibreOffice Manager.

7.) If you use a proxy server:
open a konsole and enter:
Code: [Select]
export http_proxy="http://proxy.example.com:8080"or with authentication:
Code: [Select]
export http_proxy="http://password:username@proxy.example.com:8080"then in the same konsole enter:
Code: [Select]
lomanager
8.) Additional Information:
- to learn about using additional options (lomanager version and system update test) enter in a terminal: lomanager --help to find out about the command-line options --no-vtest (skip the test for the latest version of lomanager) and --no-updatetest (skip the test to check if your system is fully updated)

- working with LibreOffice applications: LibreOffice Documentation
- optional LibreOffice Extensions
- optional LibreOffice Templates

have fun  ;)
-pinoc



« Last Edit: May 07, 2013, 01:10:31 AM by pinoc »

Offline Howard

  • Hero Member
  • *****
  • Posts: 728
Re: GetOpenOffice
« Reply #1 on: June 25, 2009, 06:32:44 PM »
I was going to install OOo 3.1 from the "official" OOo download, which I have done before with little problem, but I found this and thought I'd give it a try.  It was slower, especially as I already had a copy downloaded!  Interesting to watch what was happening though.

I was hoping that it would ask me which "locale" I wanted, as I would prefer the UK or Canadian version, maybe with a little Finnish on the side, but it just went ahead and installed the US version, but I'm used to that anyway.  However, how do I change locale?  And since my old laptop has 512MB memory (the maximum) am I constrained by the constraints?

Quote
However, how do I change locale?

I guess I should have looked farther up in the section!
« Last Edit: June 26, 2009, 11:50:07 AM by Howard »
How does one become a hero?  By asking a lot of dumb questions apparently! I have three computers of various ages, the most powerful is a Dell Netbook 10v; each has 2 or 3 versions of PCLOS of various vintages.  Location, St John's, Newfoundland.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: GetOpenOffice
« Reply #2 on: June 25, 2009, 09:20:37 PM »
Howard,
To change your locale, use addlocale.

On an installed system, 512 MB RAM is fine, but it isn't enough to use these apps in live mode. When in live mode, over 50% of your RAM is in use running the live system. In your case, around 250 MB would be available for these programs to use. That just isn't enough for an application as big as Open Office.

Neal

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2848
    • other projects...
Re: GetOpenOffice
« Reply #3 on: June 26, 2009, 01:44:14 AM »
Howard,
at present, GOO is set to auto-detect your current localization and add the corresponding localized OO. Your idea to also add another localized OO is a good one and I will see how to implement this in the next version. Thank you for this suggestion!

-p.

Offline Howard

  • Hero Member
  • *****
  • Posts: 728
Re: GetOpenOffice
« Reply #4 on: June 26, 2009, 11:53:58 AM »
Thanks for your replies, which I've only just seen.  For some reason I'm not getting e-mail notifications of replies at present, or getting odd ones (i.e.repeats of those I have already looked at.)  I'll check my junk settings, but I think it's a glitch here.
How does one become a hero?  By asking a lot of dumb questions apparently! I have three computers of various ages, the most powerful is a Dell Netbook 10v; each has 2 or 3 versions of PCLOS of various vintages.  Location, St John's, Newfoundland.

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2848
    • other projects...
Re: GetOpenOffice
« Reply #5 on: June 30, 2009, 09:20:02 AM »
announcing GOO 0.4 with these changes/ new features:

*  all 104 OO-locales are now supported (with 0.3 only the 73 KDE locales were supported) and displayed in a list to choose from
* GOO will try to detect the system locale and then pre-select the corresponding OO-locale. The user can confirm to add this one or select any other one from the list
* checks for and offers to install Java on MiniME editions if sufficient space is available for Java
* provides information on OO-dictionaries and instructions how to switch between different installed OO-locales

And not to forget: a huge THANK YOU to Neal for testing and packaging GOO!!

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12532
Re: GetOpenOffice
« Reply #6 on: June 30, 2009, 09:23:50 AM »
announcing GOO 0.4 with these changes/ new features:

*  all 104 OO-locales are now supported (with 0.3 only the 73 KDE locales were supported) and displayed in a list to choose from
* GOO will try to detect the system locale and then pre-select the corresponding OO-locale. The user can confirm to add this one or select any other one from the list
* checks for and offers to install Java on MiniME editions if sufficient space is available for Java
* provides information on OO-dictionaries and instructions how to switch between different installed OO-locales

And not to forget: a huge THANK YOU to Neal for testing and packaging GOO!!

And a huge THANK YOU for working this up. It makes it easy to install  Go Open Office now!

Thanks to everyone who donates. You keep the servers running.

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2848
    • other projects...
Re: GetOpenOffice
« Reply #7 on: June 30, 2009, 10:29:40 AM »
kudos from the boss, what shall I say...  ::)  It's just my pleasure to help where possible and to make the best Linux distro even better. Proud to be part of it! ;)

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: GetOpenOffice
« Reply #8 on: June 30, 2009, 10:31:53 AM »
Yes. Thank you very much for the work you've done on Get Open Office and addlocale, Pinoc. It was a pleasure to test for you. Get Open Office does exactly what it is supposed to do and does it very well. :D

Offline Howard

  • Hero Member
  • *****
  • Posts: 728
Re: GetOpenOffice
« Reply #9 on: July 01, 2009, 08:17:19 AM »
Thanks, it works!  I now have the option to switch OOo to Finnish as well as UK English (not that I speak Finnish very well, but it should help improve one part of my vocabulary!)   There is no Finnish spellchecker in the OOo list though because the Finns have gone out on their own and provided software called Voikko.  I've never been able to install this as I don't know the language well enough to understand the instructions, but I noticed, during my short flirtation with Linux Mint, that Voikko was available in their repository, and would, presumably, install from there.  Is there any chance we could have it in ours too - I know there are some Finnish speakers involved in PCLOS?  I wonder what would happen if I tried to download it from the LM repository?
How does one become a hero?  By asking a lot of dumb questions apparently! I have three computers of various ages, the most powerful is a Dell Netbook 10v; each has 2 or 3 versions of PCLOS of various vintages.  Location, St John's, Newfoundland.

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: GetOpenOffice
« Reply #10 on: July 01, 2009, 09:12:10 AM »
Howard,
LM uses .deb packages. PCLinuxOS uses RPM packages. The two are not the same. I'd advise against trying to install deb packages from LM or anywhere on PCLinuxOS.

Offline Howard

  • Hero Member
  • *****
  • Posts: 728
Re: GetOpenOffice
« Reply #11 on: July 01, 2009, 10:15:04 AM »
Thanks for the warning Neal - I wasn't seriously going to try!
How does one become a hero?  By asking a lot of dumb questions apparently! I have three computers of various ages, the most powerful is a Dell Netbook 10v; each has 2 or 3 versions of PCLOS of various vintages.  Location, St John's, Newfoundland.

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2848
    • other projects...
Re: GetOpenOffice
« Reply #12 on: July 07, 2009, 09:35:39 AM »
announcing GetOpenOffice version 0.5 with the following changes:
- improved check for Synaptic repo settings: from now on GOO will only proceed if you have only one (1) properly configured repo and no OO-repo is active/configured (most of the recent problems were due to misconfigured Synaptic repos)
- improved info on how to switch OO-locales

have fun,
-pinoc
« Last Edit: July 07, 2009, 09:59:59 AM by pinoc »

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: GetOpenOffice
« Reply #13 on: July 07, 2009, 09:40:56 AM »
It just keeps getting better. :D
Thank you, Pinoc!


Online Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6384
  • I'm going South
Re: GetOpenOffice
« Reply #14 on: July 07, 2009, 10:19:04 AM »
There is no Finnish spellchecker in the OOo list though because the Finns have gone out on their own and provided software called Voikko.  I've never been able to install this as I don't know the language well enough to understand the instructions, but I noticed, during my short flirtation with Linux Mint, that Voikko was available in their repository, and would, presumably, install from there.  Is there any chance we could have it in ours too

Voikko is in the repos. I haven't tested it (but I probably will).
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D