Page 1 of 1

Installing LibreOffice on pen drive

Posted: 31 Jul 2018, 10:03
by Tom
Hello all,
I am new to Linux although I am running LinuxLite 4.0 on an entry level laptop and happy with that. Lost my patience with Win 10 and upgrades that couldn't be turned off.

I tried some "light" distros to put on a USB stick and to be used in Live in case of need and decided for Porteus. It runs fine on my laptop and I like the savings possibilities, even if I haven't yet understood if it will save Wi-Fi pwrds as well.

I use my laptop in my work and use mainly: LibreOffice, mailspring a youtube to mp3 converter and that's about all. I do not and am not interested/have no time in using terminal or other deeper understanding of the system. I am a typical windows user that do not care what's "under the hood".

In order to prepaired my stick I started to download packages. The browser went fine but when I tried LibreOffice 6 or 5, the problems started. The download manager, I suppose, asked me to select dependences, which I did. At a certain point an error message came up and I can't complete the download. I tried with different versions of LibreOffice and also other alternatives GoOffice etc. -no way!

Is there an easy way around this or is there something wrong that I am doing?;

1. I upgrade the download manager
2. I upgrade all packages
3. select app to download, browser went fine but LibreOffice no!

USB 8Mb
fat 32
Porteus loads fine

thanks in advances
Tom (Rome Italy)

Installing LibreOffice on pen drive

Posted: 31 Jul 2018, 10:18
by Blaze
Hi Tom.

Open terminal and type these commands:

Code: Select all

su
toor
update-libreoffice

Installing LibreOffice on pen drive

Posted: 01 Aug 2018, 04:00
by Tom
Hello Blaze,
thanks for your fast reply, will try that!

Installing LibreOffice on pen drive

Posted: 07 Aug 2018, 23:11
by francois
@blaze:
What is the repo for update-libreoffice?

Installing LibreOffice on pen drive

Posted: 08 Aug 2018, 03:03
by ncmprhnsbl
francois wrote:
07 Aug 2018, 23:11
What is the repo for update-libreoffice?
do you mean the live script or or the package?
in the live script, the package is obtained from: http://ftp.osuosl.org/pub/tdf/libreoffice/stable/
fyi, i just tried update-libreoffice and it works no problem (note it only makes a txz package in /tmp. you then need to txz2xzm it if you want a module)

Installing LibreOffice on pen drive

Posted: 08 Aug 2018, 05:56
by Ed_P
I tried update-libreoffice. Initially it said I had to download (getpkg), and activate, a binutils module before the update would run. Easy enough and quick to do, but then after restarting the update it cranked away for a minute and ended with:

Code: Select all

root@porteus:/home/guest# update-libreoffice
 Starting checks ... 
[OK] User is root.
[OK] Distro is Porteus
[OK] libbfd was found
[OK] libbfd was found
Downloading live script ...
Downloading: update-libreoffice-live  DONE
Verifying archive integrity...  100%   All good.
Uncompressing Porteus browser updater  100%  
--2018-08-08 01:53:09--  http://ftp.osuosl.org/pub/tdf/libreoffice/stable/
Resolving ftp.osuosl.org (ftp.osuosl.org)... 64.50.236.52, 64.50.233.100, 140.211.166.134, ...
Connecting to ftp.osuosl.org (ftp.osuosl.org)|64.50.236.52|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘/tmp/.libreoffice.8648/index.html’

index.html                          [ <=>                                                 ]   3.02K  --.-KB/s    in 0s      

2018-08-08 01:53:09 (9.90 MB/s) - ‘/tmp/.libreoffice.8648/index.html’ saved [3092]
___________________________________________

Welcome to the Porteus libreoffice updater.

Latest version: 6.0.6

 Would you like to download the latest version? [y/n] y
 :
 : 
 :
opt/libreoffice6.0/program/libacclo.so
opt/libreoffice6.0/program/libscnlo.so
opt/libreoffice6.0/program/libmergedlo.so
/sbin/makepkg: line 397:  8486 Done                    find ./
      8487                       | sed '2,$s,^\./,,'
      8488 Broken pipe             | tar --no-recursion $ACLS $XATTRS -T - -cvf -
      8489 Killed                  | $COMPRESSOR > ${TARGET_NAME}/${TAR_NAME}.${EXTENSION}
ERROR:  xz -9 --threads=2 -c returned error code 137 -- makepkg failed.
root@porteus:/home/guest# 
I wonder how Tom made out.

Installing LibreOffice on pen drive

Posted: 08 Aug 2018, 08:34
by ncmprhnsbl
well that is odd.. looks like makepkg has failed at the compressing package stage.. wonder why?
have you checked in /tmp/<sub dir> to see if the .deb(or .tar.gz) is still there?

Installing LibreOffice on pen drive

Posted: 08 Aug 2018, 14:02
by Ed_P

Code: Select all

guest@porteus:~$ ls -s /tmp
total 12372
4956 binutils-2.31.1-x86_64-1.txz       0 plugtmp/
7416 binutils-2.31.1-x86_64-1.xzm       0 plugtmp-1/
   0 firefox_guest/                     0 plugtmp-2/
   0 getpkg/                            0 plugtmp-3/
   0 libreoffice-6.0.6.2-x86_64.txz     0 pulse-PKdhtXMmr18n/
   0 mozilla_guest0/
guest@porteus:~$ ls -s /tmp/getpkg/
total 1164
1160 FILELIST.TXT     4 portbuild-download.txt
guest@porteus:~$ 

Installing LibreOffice on pen drive

Posted: 08 Aug 2018, 23:43
by Herumacil
Hey guys, just wondering, isn't it easier to just use USM? i installed libreoffice 6 using USM with no issue. :%)

Installing LibreOffice on pen drive

Posted: 09 Aug 2018, 15:45
by Ed_P
It is, if you know how to use it. You have to update the USM databases (mirrors), and maybe tweak the USM mirror files if one is down or has a problem, and maybe choose between many files that contain required dependencies. And if you have slow Internet access it can be a long time to download and depending on your access provider, expensive.

update-libreoffice is one of several update-s available to users in 4.0. Others are:

Code: Select all

guest@porteus:~$ ls -s /opt/porteus-scripts/update-*
3 /opt/porteus-scripts/update-chrome*
3 /opt/porteus-scripts/update-chromium*
2 /opt/porteus-scripts/update-firefox*
3 /opt/porteus-scripts/update-flash*
3 /opt/porteus-scripts/update-libreoffice*
2 /opt/porteus-scripts/update-module*
3 /opt/porteus-scripts/update-opera*
3 /opt/porteus-scripts/update-palemoon*
2 /opt/porteus-scripts/update-pepperflash*
5 /opt/porteus-scripts/update-porteus*
3 /opt/porteus-scripts/update-vbox*
3 /opt/porteus-scripts/update-wps-office*
guest@porteus:~$