Installing LibreOffice on pen drive

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
Tom
White ninja
White ninja
Posts: 8
Joined: 31 Jul 2018, 09:28
Distribution: Porteus-LXQT-v4.0-x86_64

Installing LibreOffice on pen drive

Post#1 by Tom » 31 Jul 2018, 10:03

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)

User avatar
Blaze
DEV Team
DEV Team
Posts: 2023
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Installing LibreOffice on pen drive

Post#2 by Blaze » 31 Jul 2018, 10:18

Hi Tom.

Open terminal and type these commands:

Code: Select all

su
toor
update-libreoffice
Linux 4.19.2-porteus #1 SMP PREEMPT Wed Nov 14 09:31:28 UTC 2018 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

Tom
White ninja
White ninja
Posts: 8
Joined: 31 Jul 2018, 09:28
Distribution: Porteus-LXQT-v4.0-x86_64

Installing LibreOffice on pen drive

Post#3 by Tom » 01 Aug 2018, 04:00

Hello Blaze,
thanks for your fast reply, will try that!

User avatar
francois
Contributor
Contributor
Posts: 5458
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Installing LibreOffice on pen drive

Post#4 by francois » 07 Aug 2018, 23:11

@blaze:
What is the repo for update-libreoffice?
Prendre son temps, profiter de celui qui passe.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 1577
Joined: 20 Mar 2012, 03:42
Distribution: 4.0-64bit all-DE+more
Location: australia
Contact:

Installing LibreOffice on pen drive

Post#5 by ncmprhnsbl » 08 Aug 2018, 03:03

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)
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Ed_P
Contributor
Contributor
Posts: 4247
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Installing LibreOffice on pen drive

Post#6 by Ed_P » 08 Aug 2018, 05:56

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.
Ed

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 1577
Joined: 20 Mar 2012, 03:42
Distribution: 4.0-64bit all-DE+more
Location: australia
Contact:

Installing LibreOffice on pen drive

Post#7 by ncmprhnsbl » 08 Aug 2018, 08:34

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?
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Ed_P
Contributor
Contributor
Posts: 4247
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Installing LibreOffice on pen drive

Post#8 by Ed_P » 08 Aug 2018, 14:02

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:~$ 
Ed

User avatar
Herumacil
White ninja
White ninja
Posts: 6
Joined: 12 Mar 2018, 02:16
Distribution: Porteus 4.0 KDE
Location: Scotland, UK
Contact:

Installing LibreOffice on pen drive

Post#9 by Herumacil » 08 Aug 2018, 23:43

Hey guys, just wondering, isn't it easier to just use USM? i installed libreoffice 6 using USM with no issue. :%)
Toshiba Satellite C55D | 8GB Ram | AMD A4 APU | Running: Porteus 4.0 KDE

User avatar
Ed_P
Contributor
Contributor
Posts: 4247
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Installing LibreOffice on pen drive

Post#10 by Ed_P » 09 Aug 2018, 15:45

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:~$ 
Ed

Post Reply