SliTaz SliTaz Forum

You are not logged in.

#1 2018-05-16 20:41:54

terrybull
Member
Registered: 2011-11-06
Posts: 127

LibreOffice installation

I have now installed and got running the slitaz rolling 32bit on an old Pentium 3 laptop. I have a tazpkg I downloaded a long time ago, I cant recall where which installs LibraOffice perfectly with working menu entries etc. However its an old version (LibreOffice-3.5.3)

Its okay but I would like to install a newer version but am finding it difficult to do so. I found this 'http://slitaz.free.fr/index.php?post/2018/01/02/Libreoffice-slitaz-dont-fuck-anymore-with-get-something'

but i cannot get it to work.

My Linux skill is poor and I find it difficult to comprehend some of the advice I find.

Is there an idiot proof tazpkg that I can use to install a newer version of LibreOffice please.

Thanks

Offline

#2 2018-05-16 21:17:45

Erkan_Yilmaz
Member
Registered: 2014-12-18
Posts: 78

Re: LibreOffice installation

edit:

of, I see the version is 1.2 :-(

so you can ignore below

----------------------

tbh, I would not install packages from external websites

I have never had the need for a full office app here on slitaz, so I can only tell this:

1. open a terminal

2. log in as root

3. then type: tazpkg search office

4. this gives me (A)

5. "get-LibreOffice" will probably grab the newest version, so you could try that:

6. type: tazpkg -gi get-LibreOffice

7a. once done, type: get-LibreOffice

7b. not sure if 7a needs sudo rights

anyways, people can tell you more l8

(A)

Search result for "office"

================================================================================

Installed packages

--------------------------------------------------------------------------------

================================================================================

0 installed packages found for "office"

Available packages

--------------------------------------------------------------------------------

get-LibreOffice         1.2               office

get-OpenOffice3         1.2               office

goffice                 0.10.32           libs

goffice-dev             0.10.32           development

goffice-gtk2            0.8.17            libs

goffice-gtk2-dev        0.8.17            development

libreoffice (extra)                       office

openoffice (extra)                        office

openoffice3 (extra)                       office

================================================================================

9 available packages found for "office"

Offline

#3 2018-05-17 04:26:15

Alex_K
Member
Registered: 2017-05-16
Posts: 14

Re: LibreOffice installation

Because 5.0 intend to be a rolling edition, there's no LibreOffice prebuild package and neither package maintainer instead of 6.0/Next : the get-script is a better compliant way to install for a rolling release, for such heavy and updated soft.

The main remaining issue is the broken menu launchers after install, even if the script seems have been patched here http://forum.slitaz.org/topic/get-libreoffice-patched , but I don't think so in repo (not tested).

So, start from a clean install (or manualy remove all old LibreOffice files), then :

[c]tazpkg -gi get-LibreOffice[/c]

Before build and install package with the get-script, you have to set twice the appropriate locale system variable, (to avoid surprises after long install) :

first in TazPanel as root : Settings > System Language > change locale > reboot ;

then with [c]tazbox locale[/c] , and reboot again.

Then, log as root in terminal :

[c]get-LibreOffice[/c]

Because you're running on Pentium III, this step will take a lot of time, about 30 minutes.

To get menu launchers working :

[c]rm -f /usr/bin/soffice /usr/bin/libreoffice6.0
ln -sf /usr/lib/libreoffice6.0/program/soffice /usr/bin/libreoffice6.0[/c]

Offline

#4 2018-05-18 10:30:53

rerivero
Member
Registered: 2012-06-18
Posts: 235

Re: LibreOffice installation

It works fine, I just updated LibreOffice to 6.0

get-LibreOffice-1.2.tazpkg

[attachment=46299,2666] [attachment=46299,2667]

Offline

#5 2018-05-18 14:03:43

terrybull
Member
Registered: 2011-11-06
Posts: 127

Re: LibreOffice installation

Okay. Please understand my Linux skill is very very basic and youve lost me here

'Before build and install package with the get-script, you have to set twice the appropriate locale system variable, (to avoid surprises after long install) :

first in TazPanel as root : Settings > System Language > change locale > reboot ;

then with tazbox locale , and reboot again.'

Can you spell out this step please. I know it may seem obvious to you but I'm still learning.

Many thanks

ps. I've reverted to Slitaz 4

Offline

#6 2018-05-18 15:15:36

rerivero
Member
Registered: 2012-06-18
Posts: 235

Re: LibreOffice installation

You do not need to modify the language, you just have to install as root get-LibreOffice patched:

download

get-LibreOffice-1.2.tazpkg patched

# tazpkg install get-LibreOffice-1.2.tazpkg --forced

# get-LibreOffice

Then wait several minutes, which will depend on your download speed - and then keep waiting until you compile and install the complete package. The language will automatically adjust to the current language of your system. In my PC AMD athlon x2 250 took 20 minutes the entire process.

Offline

#7 2018-05-18 16:31:36

terrybull
Member
Registered: 2011-11-06
Posts: 127

Re: LibreOffice installation

Fail at the first hurdle. I get this error

Connecting to download.documentfoundation.org (89.238.68.185:80)

wget: server returned error: HTTP/1.1 404 Not Found

                                                                     [ Failed ]

Could not download LibreOffice_6.0.4_Linux_x86_rpm.tar.gz. Exiting.

root@slitaz:/home/david#

Offline

#8 2018-05-19 09:22:46

rerivero
Member
Registered: 2012-06-18
Posts: 235

Re: LibreOffice installation

Try

# tazpkg -gi wget

try again

# get-LibreOffice

Offline

#9 2018-05-22 11:08:11

terrybull
Member
Registered: 2011-11-06
Posts: 127

Re: LibreOffice installation

So I did a clean install and followed the instructions and it downloaded LibreOffice 6.0 but the menus entries under office do not work. I followed the commands given above

To get menu launchers working :

rm -f /usr/bin/soffice /usr/bin/libreoffice6.0

ln -sf /usr/lib/libreoffice6.0/program/soffice /usr/bin/libreoffice6.0 but no joy at all.

I have noticed that my Pentium 3 does not meet the minimun system requirements for LibreOffice6 so even if the menus get working its pushing the limits. I have had this same libre office problem previously on this same machine and solved it last time by dawnloading this tazpkg:-

http://forum.slitaz.org/topic/get-libreoffice-patched

but the link does not work anymore. Is there this tazpkg hidden somewhere that I can get to.

I love Slitaz and for old machines it is great but the problem of installing an office package is frustrating the hell out of me.

Thanks for the replies so far but I still have this issue.

Offline

#10 2018-05-22 11:20:41

rerivero
Member
Registered: 2012-06-18
Posts: 235

Re: LibreOffice installation

try this option:

http://cook.slitaz.org/next/LibreOffice/download

download LibreOffice-6.0.2.tazpkg - LibreOffice-extra-6.0.2.tazpkg - and its language pack

Offline

#11 2018-05-22 12:35:26

terrybull
Member
Registered: 2011-11-06
Posts: 127

Re: LibreOffice installation

Thank you rerivero.

That's done it. Worked a treat. I have 2 menu entries now for everything in the office menu, 2 writer, 2 calc etc etc. How do I delete these please. Thank you.

Offline

#12 2018-05-22 15:04:42

rerivero
Member
Registered: 2012-06-18
Posts: 235

Re: LibreOffice installation

as root: (copy and paste)

rm /usr/share/applications/libreoffice-*

Offline

#13 2018-05-23 16:38:39

terrybull
Member
Registered: 2011-11-06
Posts: 127

Re: LibreOffice installation

Copy and pasted as root with this result:-

# rm /usr/share/applications/libreoffice-*

rm: can't remove '/usr/share/applications/libreoffice-*': No such file or directory

I thought this was a failure but checking the menu it has deleted the duplicate menu entries. All good now.

Thanks for the excellent response

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.022 seconds, 7 queries executed - Memory usage: 1.56 MiB (Peak: 1.77 MiB) ]