You are not logged in.
Hi all,
i am here again. i'm trying to make slitaz my primary OS so i'm installing various softwares.
As title, while installing Libreoffice from tazpanel i obtained an error about java runtime environment (jre);
i also tried to install it alone; here the result:
"
root@pak-slitaz:/home/pak# get-java6-jre
--2014-01-06 00:27:35-- http://www.java.com/en/download/manual_v6.jsp
Resolving www.java.com (www.java.com)... 23.32.221.66, 2a02:26f0:12:18f::1ba3, 2a02:26f0:12:192::1ba3, ...
Connecting to www.java.com (www.java.com)|23.32.221.66|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: /en/download/faq/java_6.xml [following]
--2014-01-06 00:27:36-- http://www.java.com/en/download/faq/java_6.xml
Reusing existing connection to www.java.com:80.
HTTP request sent, awaiting response... 200 OK
Length: 11862 (12K) [text/html]
Saving to: `STDOUT'
100%[======================================>] 11.862 --.-K/s in 0,002s
2014-01-06 00:27:38 (7,48 MB/s) - written to stdout [11862/11862]
wget: missing URL
Usage: wget [OPTION]... [URL]...
Try `wget --help' for more options.
Could not download jre.bin. Exiting.
"
What can i do to install jre?
In addition libreoffice is not present in "menu" (anyway typing "soffice" in terminal, it starts)
Offline
The link to download updated java-jre tazpkg is here:
http://forum.slitaz.org/topic/trouble-installing-java6-jre#post-26770
Offline
@pakboy
we'll, why you don't give http://www.freeoffice.com/en a try?
You need less memory, It's 100% compatible with ms office and very powerful. You don't need java6-jre to run this amazing office package.
Offline
I got the same problem. You can install Oracle's OpenOffice via repo - I belive it's still possible.
And yeah, mentioned Freeoffice is good solution. Not so powerfull as Libre/OpenOffice, but still functional and very lightweight
Offline
Hi all guys, thank you for your suggestions.
I'm using math software of libreoffice to write my thesis: i learned that software and i already wrote many pages so i wanna go on with that without trying other software now!
In addition, adopting another software does not solve the problem of libreoffice slitaz pack.
Mojo, you're great: that pakage installs java 6.
To resolve the absent menu entries, what could i do? i've also tried to reinstall with java preinstalled, but they don't appear.
Any help is welcome
Offline
If you still can't install, may be you should try LO portable version.
http://www.libreoffice.org/download/portable/
It worked with my slitaz install, but it consume more resources than normal installation
Offline
Not sure which package your refering to but java6-jre which is suggested in the get-LibreOffice script is outdated. As I recall java is only required for the printer administration dialog in LibreOffice. Anyway java7-jre is compatible with java6-jre and should work.
The package I linked to installs java7-jre update 45
This is how I test the installed java version after I build the package.
Open terminal:
tux@slitaz:~$ java -version <=type the bold text then hit Enter
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) Server VM (build 24.45-b08, mixed mode)
Go here: http://www.java.com/en/download/installed.jsp
Click red "Verify Java version" button
Click Run this Time button from yellow drop down security bar in chrome.
After the spinner is finished it will report:
Verified Java Version
Completion checkmark
Congratulations!
You have the recommended Java installed (Version 7 Update 45).
LibreOffice Post Install Symlinks
Create symlinks for menu and executables as root in terminal,the script failed because the install path and/or the names of the objects to be linked has changed.
Open the files.list for LibreOffice and use the search on leafpad to find the paths for *.desktop and soffice the executable.
[c]leafpad /var/lib/tazpkg/installed/LibreOffice/files.list[/c]
[c]cd /usr/share/applications[/c]
[c]ln -s /usr/lib/libreoffice*/share/xdg/base.desktop[/c] [c]libreoffice-base.desktop[/c]
[c]ln -s /usr/lib/libreoffice*/share/xdg/impress.desktop[/c] [c]libreoffice-impress.desktop[/c]
[c]ln -s /usr/lib/libreoffice*/share/xdg/writer.desktop[/c] [c]libreoffice-writer.desktop[/c]
[c]ln -s /usr/lib/libreoffice*/share/xdg/calc.desktop[/c] [c]libreoffice-calc.desktop[/c]
[c]ln -s /usr/lib/libreoffice*/share/xdg/math.desktop[/c] [c]libreoffice-math.desktop[/c]
[c]ln -s /usr/lib/libreoffice*/share/xdg/draw.desktop[/c] [c]libreoffice-draw.desktop[/c]
[c]ln -s /usr/lib/libreoffice*/share/xdg/printeradmin.desktop[/c] [c]libreoffice-printeradmin.desktop[/c]
[c]chmod +x /usr/lib/libreoffice*/share/xdg/*.desktop[/c]
[c]cd /usr/bin[/c]
[c]ln -sf /usr/lib/libreoffice/program/soffice[/c]
[c]ln -sf /usr/lib/libreoffice/program/soffice libreoffice${VERSION%.*}[/c]
Offline
yeah, java is installed and verified by checkmark.
About menu entries of libreoffice: i typed to creat symlinks but they already exist.
Libreoffice starts and works properly.
Anyway menu entries in "office" category do not appear; i think it's a "set panel" problem: i don't know how to modify the slitaz menu.
A help, a link to a guide, anything will be appreciated.
Thank you very much.
Offline
If the .desktop files are symlinked correctly to /usr/share/applications they should show in Applications/Office
Info on .desktop files:
https://wiki.archlinux.org/index.php/Desktop_Entries
https://developer.gnome.org/integration-guide/stable/desktop-files.html.en
I have libreoffice 3.5 installed
In xterm a good symlink is baby blue -> the target is green
If the symlink in /usr/share/applications is red then its broken use ln -sf force overwrite the broken link to fix it.
tux@slitaz:~$ ls -la /usr/share/applications/libreoffice*
lrwxrwxrwx 1 root root 46 May 13 2012 /usr/share/applications/libreoffice-base.desktop -> /usr/lib/libreoffice3.5/share/xdg/base.desktop
lrwxrwxrwx 1 root root 46 May 13 2012 /usr/share/applications/libreoffice-calc.desktop -> /usr/lib/libreoffice3.5/share/xdg/calc.desktop
lrwxrwxrwx 1 root root 46 May 13 2012 /usr/share/applications/libreoffice-draw.desktop -> /usr/lib/libreoffice3.5/share/xdg/draw.desktop
lrwxrwxrwx 1 root root 49 May 13 2012 /usr/share/applications/libreoffice-impress.desktop -> /usr/lib/libreoffice3.5/share/xdg/impress.desktop
lrwxrwxrwx 1 root root 46 May 13 2012 /usr/share/applications/libreoffice-math.desktop -> /usr/lib/libreoffice3.5/share/xdg/math.desktop
lrwxrwxrwx 1 root root 54 May 13 2012 /usr/share/applications/libreoffice-printeradmin.desktop -> /usr/lib/libreoffice3.5/share/xdg/printeradmin.desktop
lrwxrwxrwx 1 root root 48 May 13 2012 /usr/share/applications/libreoffice-writer.desktop -> /usr/lib/libreoffice3.5/share/xdg/writer.desktop
Offline
thank for your patience mojo.
symlinks were broken. i used "ln -sf" as you said and the entries appear now in the office category and with right icon (without the printer admin one, maybe due to java trouble as you recalled, anyway it's not important to me).
The problem is that they don't start! that is they don't launch any libreoffice part (writer or draw or calc etc...)
p.s. obviuosly java version installed is 7 not 6 as i wrote above
Offline
Make all the .desktop files executable
chmod +x /usr/lib/libreoffice*/share/xdg/*.desktop
Have /usr/bin/soffice and /usr/bin/libreoffice{your version from Exec=} which both start the office suite main menu.
If not then:
cd /usr/bin
ln -sf /usr/lib/libreoffice/program/soffice
Now see what the Exec= is for the .desktop file
grep Exec= /usr/lib/libreoffice3.5/share/xdg/*.desktop
ln -sf /usr/lib/libreoffice/program/soffice libreoffice{version from Exec=}
For example on my install I symlinked /usr/bin/soffice to /usr/bin/libreoffice3.5
tux@slitaz:~$ grep -i Exec /usr/share/applications/libreoffice-*.desktop
/usr/share/applications/libreoffice-base.desktop:Exec=libreoffice3.5 --base %U
/usr/share/applications/libreoffice-calc.desktop:Exec=libreoffice3.5 --calc %U
/usr/share/applications/libreoffice-draw.desktop:Exec=libreoffice3.5 --draw %U
/usr/share/applications/libreoffice-impress.desktop:Exec=libreoffice3.5 --impress %U
/usr/share/applications/libreoffice-math.desktop:Exec=libreoffice3.5 --math %U
/usr/share/applications/libreoffice-printeradmin.desktop:Exec=libreoffice3.5-printeradmin
/usr/share/applications/libreoffice-writer.desktop:Exec=libreoffice3.5 --writer %U
Offline
i'm going crazy... i tried to add to desktop the "writer" by clicking right button on writer entry in menu; so a link has been created on desktop: it has not the icon but it works! writer starts...
i am tempted to unistall and reinstall from zero because maybe there is some junk file somewhere over the rainbow...
Offline
here i am.
I'm just writing, now, for users who could have trouble like mine in the future.
I reinstalled slitaz and java (mojo's package above) and OK.
Next i installed libreoffice from tazpanel obtaining no menu entries, even if the suite office starts and works from terminal.
To have menu entries i followed mojo's steps and all has gone ok: i was making some mistakes and i wasn't pay attention to some facts.
First in /usr/share/applications there were not .desktop files given from mojo (for his installed version software): i have not printeradmin.desktop but other files.
Next i didn't see in the line "ln -sf /usr/lib/libreoffice/program/soffice libreoffice${VERSION%.*}" that i had to insert the exact number of my version...
For linux' newbie users: don't copy and paste mechanically! We have a brain! 
Thanks to all users who answer, especially to mojo.
Bye forum
Offline
[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.57 MiB (Peak: 1.77 MiB) ]