SliTaz SliTaz Forum

You are not logged in.

#1 2012-08-06 15:10:06

Ernst
Member
Registered: 2012-07-28
Posts: 35

LibreOffice & OpenOffice

Hello,

I tried to install LibreOffice (and to test it) Open Office yesterday and today with the package manager. The get-files he downloaded and tried to execute. The 2nd action failed and the message was that he could not download the .tar files?

Did I made a mistake or is there a kind of problem/bug?

Regards Ernst

Offline

#2 2012-08-06 17:40:41

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: LibreOffice & OpenOffice

http://forum.slitaz.org/topic/help-me-please-office-to-slitaz

Offline

#3 2012-08-07 14:07:58

Ernst
Member
Registered: 2012-07-28
Posts: 35

Re: LibreOffice & OpenOffice

Hello Trixar / all,

thanks - but I know this post. So tried it again this afternoon and see:

root@slitaz:/home/tux# get-LibreOffice

Downloading LibreOffice tarball (it's time to have a break)...

--2012-08-07 15:50:29--  http://download.documentfoundation.org/libreoffice/stable/http:/rpm/x86/LibO_http:_Linux_x86_install-rpm_en-US.tar.gz

Resolving download.documentfoundation.org (download.documentfoundation.org)... 178.63.91.70

Connecting to download.documentfoundation.org (download.documentfoundation.org)|178.63.91.70|:80... connected.

HTTP request sent, awaiting response... 404 Not Found

2012-08-07 15:50:31 ERROR 404: Not Found.

--2012-08-07 15:50:31--  http://download.documentfoundation.org/libreoffice/stable/http:/rpm/x86/LibO_http:_Linux_x86_langpack-rpm_de.tar.gz

Resolving download.documentfoundation.org (download.documentfoundation.org)... 178.63.91.70

Connecting to download.documentfoundation.org (download.documentfoundation.org)|178.63.91.70|:80... connected.

HTTP request sent, awaiting response... 404 Not Found

2012-08-07 15:50:31 ERROR 404: Not Found.

                                                                     [ Failed ]

Extracting files (this may take a while): Failed to extract LibO_http:_Linux_x86_install-rpm_en-US.tar.gz

Failed to extract LibO_http:_Linux_x86_langpack-rpm_de.tar.gz

(found v)mv: can't rename '/tmp/LibreOffice.2662/LibO__Linux_x86_langpack-rpm_de/RPMS/*.rpm': Datei oder Verzeichnis nicht gefunden

                                                                     [ Failed ]

/usr/bin/get-LibreOffice: cd: line 140: can't cd to /tmp/LibreOffice.2662/LibO__Linux_x86_install-rpm_en-US/RPMS

.rpm2cpio: can't open '*.rpm': Datei oder Verzeichnis nicht gefunden

rpm2cpio: can't open 'desktop-integration/*freedesktop*.rpm': Datei oder Verzeichnis nicht gefunden

                                                                     [ OK ]

Preparing package... mv: can't rename 'opt/libreoffice*': Datei oder Verzeichnis nicht gefunden

mv: can't rename 'usr/share/mime': Datei oder Verzeichnis nicht gefunden

mv: can't rename 'usr/share/icons': Datei oder Verzeichnis nicht gefunden

mv: can't rename 'usr/bin': Datei oder Verzeichnis nicht gefunden

ls: LibreOffice-http:/fs/usr/bin/libreoffice???: Datei oder Verzeichnis nicht gefunden

Command line: readlink

BusyBox v1.18.4 (2012-03-17 22:49:48 UTC) multi-call binary.

Usage: readlink [-fnv] FILE

Display the value of a symlink

Options:

    -f    Canonicalize by following all symlinks

    -n    Don't add newline

    -v    Verbose

Command line: ln -s

BusyBox v1.18.4 (2012-03-17 22:49:48 UTC) multi-call binary.

Usage: ln [OPTIONS] TARGET... LINK|DIR

Create a link LINK or DIR/TARGET to the specified TARGET(s)

Options:

    -s    Make symlinks instead of hardlinks

    -f    Remove existing destinations

    -n    Don't dereference symlinks - treat like normal file

    -b    Make a backup of the target (if exists) before link operation

    -S suf    Use suffix instead of ~ when making backup files

                                                                     [ OK ]

Packing : LibreOffice-http:

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

Creating the list of files...                                        [ OK ]

Creating md5sum of files...                                          [ OK ]

Compressing the fs...                                                [ OK ]

Updating receipt sizes...                                            [ OK ]

Creating full cpio archive...                                        [ OK ]

Restoring original package tree...                                   [ OK ]

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

Package LibreOffice-http: compressed successfully.

Size : 4.0K    LibreOffice-http:.tazpkg

Installation of : LibreOffice

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

Copying LibreOffice...                                               [ OK ]

Extracting LibreOffice...                                            [ OK ]

Extracting the pseudo fs... (lzma)                                   [ OK ]

Installing LibreOffice...                                            [ OK ]

Removing all tmp files...                                            [ OK ]

ln: libreoffice-base.desktop: Die Datei existiert bereits

ln: libreoffice-impress.desktop: Die Datei existiert bereits

ln: libreoffice-writer.desktop: Die Datei existiert bereits

ln: libreoffice-calc.desktop: Die Datei existiert bereits

ln: libreoffice-math.desktop: Die Datei existiert bereits

ln: libreoffice-draw.desktop: Die Datei existiert bereits

ln: libreoffice-printeradmin.desktop: Die Datei existiert bereits

chmod: /usr/lib/libreoffice?*/share/xdg/*.desktop: Datei oder Verzeichnis nicht gefunden

ln: /usr/lib/libreoffice/libreoffice?*: Die Datei existiert bereits

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

LibreOffice (http:) is installed.

And sorry but it is not installed... how should it be if the download did not work?

Any hint? Have I made a mistake?

Regards Ernst

Offline

#4 2012-08-07 17:35:07

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: LibreOffice & OpenOffice

Like you can see, I recommend using the package found at http://sourceforge.net/projects/portable/files/ rather than the get-LibreOffice package. The reason being that I feel a stand-alone package that you just have to extract to use is easier to use than a downloader script that fails the moment they move the files hmm

Offline

#5 2012-08-07 17:55:27

Ernst
Member
Registered: 2012-07-28
Posts: 35

Re: LibreOffice & OpenOffice

Hello Trixar - thanks - tried this already and wanted again to try the package and compare both. Would like to have a version in German. Could not manage to get a standalone with a German user interface. Maybe I'll find one. Tested on the other hand this afternoon Abiword and Gnumeric and will use them for the time being as a replacement for Word and Excel. Do you (or somebody else) know if there is a package among the 3.000 to replace PowerPoint?

Thanks and regards Ernst

Offline

#6 2012-08-07 18:24:33

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: LibreOffice & OpenOffice

Not to my knowledge. There is a few viewers, but no powerpoint editors.

Offline

#7 2012-08-07 18:41:53

Begre1929
Member
Registered: 2012-08-06
Posts: 4

Re: LibreOffice & OpenOffice

I did some searches myself during the last exams session... well I found nothing small and fully featured, instead of what, I used gimp to make each slide to a picture and imagemagick to generate a pdf

but I found this one : http://www.ease-project.org/index.html does not look bad, but didn't tested.

not sure slitaz has all dependencies

Offline

#8 2012-08-10 18:40:13

christophe
Member
Registered: 2011-04-17
Posts: 432

Re: LibreOffice & OpenOffice

why not just get the libreoffice tar file, un-tar it in /opt,

then create asym link in /usr/bin to run the appropriate exec ?

Offline

#9 2012-09-27 12:50:08

mcoren
Member
Registered: 2012-09-27
Posts: 2

Re: LibreOffice & OpenOffice

I wrote this a few hours after I have successfully installed LibreOffice in Slitaz Linux. I have tried installing many times and many weeks using script found on the internet, but failed. Fortunately, after trying many times I have found the technique.

1. Go to http://mirror.slitaz.org/packages/stable/ and search for get-LibreOffice-1.2-tazpkg, click, and download and save on your desktop.

2. click to install or extract and you will get a new folder get-LibreOffice-1.2

3. go to System Tools > PCMan File Manager >.... and you are now in your main file window

4. since everyone's pc is different, now is your time to search for folder usr > lib. You are in the right lib folder when you can see many program folders in it. Lib folder is like Program Files in windows.

5. go to Tools > Open Current Folder as Root... enter the password and you will get second window with super user mode. use this window.

6. copy the new folder get-LibreOffice1.2 from desktop to lib

7. now get-libreoffice1.2 > fs > usr > bin > and you will find an icon get-libreoffice1.2.

8. in the same folder go Tool > Open Terminal

9. get your su and then type get-libreoffice1.2 and press enter......

10. it is time to take a break.......

11. I do not guarantee anything, but at least I have installed LibreOffice successfully in my Slitaz Linux

Offline

#10 2012-09-28 14:01:36

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: LibreOffice & OpenOffice

Hi mcoren,

Really not working the easiest and most logical method?—

In the terminal as root:

[c]tazpkg -gi get-LibreOffice
get-LibreOffice[/c]
It works for me right now. Do not confuse the uppercase and lowercase letters in get-LibreOffice.

Offline

#11 2012-09-29 00:02:10

mcoren
Member
Registered: 2012-09-27
Posts: 2

Re: LibreOffice & OpenOffice

Dear Aleksej,

In the first paragraph I mentioned the many scripts that I have tried but fail, including the script that you mentioned.

If you do your search here in the forum, you can find other people who has problem installing LibreOffice using script, that is similar to my experience. What I posted earlier, is alternative installation technique for LibreOffice. It does not apply to people like you who do not have problem like us.

Offline

#12 2012-09-29 14:20:01

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: LibreOffice & OpenOffice

Hi mcoren,

Actually, your first paragraph have no useful info.

I have tried installing many times and many weeks using script found on the internet, but failed.

What is the script? Should I have guessed that this is our get-LibreOffice package? What is the version of your SliTaz? Maybe 3.0 and you use old version of get-LibreOffice package? In addition to these obvious questions, there are several accidents.

Could it be that SliTaz Mirror server did not respond and was in down? Could it be that LibreOffice developers changed the file placement and naming scheme? Could it be that you use a bit old version of get-LibreOffice package that has not yet been adapted to the new conditions? You did not write anything that could help locate your problems with LibreOffice.

In the third post in this topic I clearly see that:

HTTP request sent, awaiting response... 404 Not Found

That mean LibreOffice developers put files to another location, and the script looks for them in the old place.

I'm happy that you cope with LibreOffice, and in your own way, well done!

But I see that our get-LibreOffice package do the same thing, and there is the proof. I was booting to the original 4.0, up my Wi-Fi, gone to the TazPanel → Packages, recharge list & upgrade packages. Open terminal, su, and that 2 lines that I posted earlier. Script works and it do your job that you describe in your post.

But, you wrote:

It does not apply to people like you who do not have problem like us.

Really time shows that I have not problems with downloading. I have problems with extracting/repacking of packages. I have SliTaz 4.0 installed like LiveUSB, all my files is in RAM, and I have 1 GB of RAM. It is enough for everyday work, but too few for package repacking.

Until get-LibreOffice script working I found in the /tmp (really in my RAM) unpacked packages and packed tazpkg. Next step—dependence of JavaRE. Unpacked LibreOffice RPMs not cleared. JRE packages downloads, unpacking and repacking and—[c]No space left on device[/c] ;(

I had time to copy the currently created package LibreOffice-3.6.1.tazpkg (101.5 MiB) and /tmp cleared and I repeat JRE installing. But, no luck. I have both JRE & LO packages but I see errors while installation and can't see icons in the menu and nothing works:

[c]Installation of :  LibreOffice

Copying LibreOffice...  [  OK  ]
Extracting LibreOffice...  [  OK  ]
Extracting the pseudo fs... (lzma)  [  OK  ]
Installing LibreOffice...  [  Failed  ]
Removing all tmp files...  [  OK  ]

LibreOffice (3.6.1) is installed.

Failed to parse '/usr/share/mime/packages/libreoffice3.6.xml'[/c]

It does not apply to people like you who do not have problem like us.

Heh wink

I don't like all these bloated offices. By the way I have compressed Softmaker Free Office (sorry, in Windows) that can read doc, docx, xls, xlsx, ppt, pptx and write doc, xls, ppt; have not bad compatibility with MSOffice… just in 30 MiB on my USB Stick that I can carry with me everywhere! Sorry for offtopic, but developers of modern offices is to strive for!

Offline

#13 2012-10-01 13:34:14

V3spiste
Member
Registered: 2012-10-01
Posts: 1

Re: LibreOffice & OpenOffice

I had similar problem and I detected it was a certificate check failure of the libreoffice mirror ("Self-signed certificate encountered" message).

To resolve this issue, I did modify the get-LibreOffice script to add to all the "wget" command instance a "--no-check-certificate" option.

I'm pretty sure it can be solved a better and more "cleaner" way, but I'm not that much a guru.

Hope it helps out.

Regards.

Offline

#14 2012-12-06 10:31:49

shintsan88
Member
Registered: 2012-12-04
Posts: 17

Re: LibreOffice & OpenOffice

Please pardon this newbie for reviving an old post, im still in the process of getting to know Slitaz (and linux in general). sad

I gotta hand it to you all, reviving a 7-year-old laptop can be a real bliss with Slitaz smile

and so now I have come upon an issue with regards to installing LibreOffice...

just as simply as Aleksej posted 2 months ago,

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

Really not working the easiest and most logical method?—

In the terminal as root:

tazpkg -gi get-LibreOffice

get-LibreOffice

It works for me right now. Do not confuse the uppercase and lowercase letters in get-LibreOffice.

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

It installed nicely here using v4 Stable, yet when I checked Applications --> Office, no LibreOffice icons are available. Are there any other steps needed to be done?

Thank you very much and kudos to the community!

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

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