Re: [Ubuntu] Installing OOo on Debian and Co.

Issues with installing under all Linux Distributions

Re: [Ubuntu] Installing OOo on Debian and Co.

Postby saphil » Tue Nov 20, 2007 6:00 pm

Following: [Tutorial] Installing OOo on Ubuntu, Debian and Co.:

This is an excellent how-to for dist-upgrading packages. Using this tutorial, one could bring in most RPM-based packages and run them from Ubuntu (deb-based system). When I was using Hoary Hedgehog and Warty OOo had an issue with a file called javadx which was supposed to show a java EULA, but didn't on some systems (I suspect web-based apt-get upgrades without the original cd had a lot to do with that). I had to delete the javadx file and then OOo worked fine. Every apt-get dist-upgrade brought it back again, though.

Why not just dist-upgrade to each new version of Ubuntu as the stable version becomes available? Remembering to back out an updated package when you dist-upgrade the OS seems middling hard. You may have a few you have upgraded... Debian users have far longer intervals between versions, so it makes sense to dist-upgrade individual packages in Debian. Ubuntu is moved on past Feisty. Gutsy Gibbon is a stable release and the 8.04 edition is in pre-alpha release stages.
LibreOffice-5 - OOo-4.1.2 - Debian (Stable and Testing) - Ubuntu 16.04 - CentOS 6 - FreeBSD - OpenSolaris-11
User avatar
saphil
Volunteer
 
Posts: 65
Joined: Mon Oct 08, 2007 5:09 am
Location: Atlanta GA

Re: [Ubuntu] Installing OOo on Debian and Co.

Postby Hagar Delest » Tue Nov 20, 2007 11:02 pm

saphil wrote:Why not just dist-upgrade to each new version of Ubuntu as the stable version becomes available?

Personally, I stick to the Dapper (6.06) flavor for 2 reasons : first, I don't want to dist-upgrade by the net, too many users have reported issues when doing so (I'm waiting for a live DVD in a magazine to test it first before installing). Second, the OOo version of Ubuntu is systematically bugged (especially the Gutsy release), so even if I had to upgrade, I would immediately remove the Ubuntu version and install the official one !
AOO 4.1.7 on Xubuntu 20.04 and 4.1.5 on Windows 10 (with winPenPack port).
User avatar
Hagar Delest
Moderator
 
Posts: 28998
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: [Ubuntu] Installing OOo on Debian and Co.

Postby saphil » Wed Nov 21, 2007 6:05 pm

Thanks for that. I am about to give up on upgrading OS compulsively, at least on my machines that hold critical information. I have 2.3 on my Fedora 7 laptop and 2.2 on my Ubuntu Feisty (server). I have not had any problems with the bugs you mention on the Ubu-box, but it could be because server does not install any GUI components and I added just what I wanted.


Now I just need to get a couple of machines just to test packages on fedora 9 and Ubuntu 8.04.

-Wolf
LibreOffice-5 - OOo-4.1.2 - Debian (Stable and Testing) - Ubuntu 16.04 - CentOS 6 - FreeBSD - OpenSolaris-11
User avatar
saphil
Volunteer
 
Posts: 65
Joined: Mon Oct 08, 2007 5:09 am
Location: Atlanta GA

Re: [Ubuntu] Installing OOo on Debian and Co.

Postby Caracalla » Fri Dec 21, 2007 3:52 pm

Not sure it really belongs in this thread but is it possible to install the go-oo version of OO? The guide on their website just says to do apt-get install openoffice.org, which would presumably install the Ubuntu version of OO. Or am i missing something here?
Has your question been answered? Then please add [solved] to the title of your thread.
My pet peeve, No support for international ordinal numbering
please vote

Er is nu ook een Nederlandstalig forum!
OOo 3.0.X on Ms Windows XP + Opensuse 11.1
Caracalla
Volunteer
 
Posts: 474
Joined: Thu Nov 22, 2007 2:35 pm
Location: Netherlands, EU

Re: [Ubuntu] Installing OOo on Debian and Co.

Postby saphil » Fri Dec 21, 2007 8:11 pm

You are right.. apt-get will get you the version of the software that has been approved for your version of Ubuntu. You can go to the OOo website and get the newest version of OOo. Installs can be more complicated going that route, and uninstalls are also more complicated as you are sort-of working around the automated installation system. Does that help?
LibreOffice-5 - OOo-4.1.2 - Debian (Stable and Testing) - Ubuntu 16.04 - CentOS 6 - FreeBSD - OpenSolaris-11
User avatar
saphil
Volunteer
 
Posts: 65
Joined: Mon Oct 08, 2007 5:09 am
Location: Atlanta GA

Re: [Ubuntu] Installing OOo on Debian and Co.

Postby Caracalla » Fri Dec 21, 2007 8:47 pm

saphil wrote:You are right.. apt-get will get you the version of the software that has been approved for your version of Ubuntu. You can go to the OOo website and get the newest version of OOo. Installs can be more complicated going that route, and uninstalls are also more complicated as you are sort-of working around the automated installation system. Does that help?

Well no, i know i can install the regular version of OOo that way, it says so in the top post. I'm talking about this version of Openoffice. Which is supposed to be better.
Has your question been answered? Then please add [solved] to the title of your thread.
My pet peeve, No support for international ordinal numbering
please vote

Er is nu ook een Nederlandstalig forum!
OOo 3.0.X on Ms Windows XP + Opensuse 11.1
Caracalla
Volunteer
 
Posts: 474
Joined: Thu Nov 22, 2007 2:35 pm
Location: Netherlands, EU

Re: [Ubuntu] Installing OOo on Debian and Co.

Postby saphil » Fri Dec 21, 2007 10:28 pm

OK, so pushing on...
http://download.go-oo.org/OOG680/ooo-build-2.3.0.3.tar.gz is source of the new version from that site...
LibreOffice-5 - OOo-4.1.2 - Debian (Stable and Testing) - Ubuntu 16.04 - CentOS 6 - FreeBSD - OpenSolaris-11
User avatar
saphil
Volunteer
 
Posts: 65
Joined: Mon Oct 08, 2007 5:09 am
Location: Atlanta GA

Re: [Ubuntu] Installing OOo on Debian and Co.

Postby Caracalla » Sun Dec 23, 2007 12:31 am

saphil wrote:OK, so pushing on...
http://download.go-oo.org/OOG680/ooo-build-2.3.0.3.tar.gz is source of the new version from that site...

ah thanks, will give that a try later.
Has your question been answered? Then please add [solved] to the title of your thread.
My pet peeve, No support for international ordinal numbering
please vote

Er is nu ook een Nederlandstalig forum!
OOo 3.0.X on Ms Windows XP + Opensuse 11.1
Caracalla
Volunteer
 
Posts: 474
Joined: Thu Nov 22, 2007 2:35 pm
Location: Netherlands, EU

Re: [Ubuntu] Installing OOo on Debian and Co.

Postby gregkedro » Sat Feb 02, 2008 8:06 pm

Hagar de l'Est wrote:From 2.3, OOo is also available in .deb format, no need to convert the packages with alien as before.


Hey, just wanted to say thanks for this post and how-to. I have a recent install of sidux (Debian sid), and had a few very minor problems with how OpenOffice was dealing with some display issues. I followed your instructions and everything has cleared up. Thank you very much.

Greg
gregkedro
 
Posts: 4
Joined: Sat Feb 02, 2008 1:20 pm

Re: [Ubuntu] Installing OOo on Debian and Co.

Postby recw » Fri Feb 22, 2008 10:17 pm

First I wanted to say thanks for taking the trouble to post easy to follow instructions that actually (almost) work. I have a minor problem in that the default install location for the .DEB's is under /opt. While this may not normally matter, I need to install under /usr/local/ instead. Does anyone know how to install a group of .DEB's to a different base directory?

Thanks!
recw
 
Posts: 1
Joined: Fri Feb 22, 2008 10:03 pm

Re: [Ubuntu] Installing OOo on Debian and Co.

Postby epsilon_da » Mon Mar 24, 2008 5:00 pm

Thanks for the guide.
I dont understand why ubuntu doesnt provide already 2.3.1 on its repos. :-/

I have a little problem on the first step.

When i do
apt-get remove openoffice.org-core
It askme to delete all openoffice plus my language packs:

Eliminar los paquetes siguientes:
language-pack-en
language-pack-en-base
language-pack-es
language-pack-es-base
language-pack-gnome-en
language-pack-gnome-en-base
language-pack-gnome-es
language-pack-gnome-es-base
language-support-en
language-support-es
openoffice.org-base
openoffice.org-calc
openoffice.org-common
openoffice.org-draw
openoffice.org-evolution
openoffice.org-gnome
openoffice.org-gtk
openoffice.org-help-en-us
openoffice.org-help-es
openoffice.org-impress
openoffice.org-java-common
openoffice.org-l10n-en-gb
openoffice.org-l10n-en-za
openoffice.org-l10n-es
openoffice.org-math
openoffice.org-style-human
openoffice.org-thesaurus-en-us
openoffice.org-writer
python-uno
ubuntu-desktop

If i delete those language packs, my system will get complete in English.
If those language packs depends on openoffice, and if i install them again after being installed 2.3.1, it will install oo2.3.0 again from the repos.
That will give me a mess.

there isn't a way to just unzip oo2.3.1 on /opt and run it from there together with 2.3.0?
That will be more safe, i think.

Also i am using ubuntu amd64 and the downloads page http://download.openoffice.org/other.html#es doesnt provide any 64 bits solution. Can i just install the "Intel" English provided on my 64 bits system?

Wont a OO by faster on 64 bits?
epsilon_da
 
Posts: 5
Joined: Mon Mar 24, 2008 4:43 pm

Re: [Ubuntu] Installing OOo on Debian and Co.

Postby Hagar Delest » Mon Mar 24, 2008 5:37 pm

For the dependancies, that's rather strange. Try to remove the OOo packages one by one in Synaptic.

To install another version in parallel, see that thread: How to install OpenOffice.org 2.0.0 as non-root OR on a non-RPM system on the older oooforum site.

I don't know if the Ubuntu version of OOo is also available in 64 bits.
AOO 4.1.7 on Xubuntu 20.04 and 4.1.5 on Windows 10 (with winPenPack port).
User avatar
Hagar Delest
Moderator
 
Posts: 28998
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: [Ubuntu] Installing OOo on Debian and Co.

Postby epsilon_da » Mon Mar 24, 2008 7:14 pm

trying to delete openoffice.org-l10n-common:

Eliminar los paquetes siguientes:
language-pack-en
language-pack-en-base
language-pack-es
language-pack-es-base
language-pack-gnome-en
language-pack-gnome-en-base
language-pack-gnome-es
language-pack-gnome-es-base
language-support-en
language-support-es
openoffice.org-help-es
openoffice.org-l10n-en-gb
openoffice.org-l10n-en-za
openoffice.org-l10n-es


trying to delete openoffice.org-l10n-en-za:

Eliminar los paquetes siguientes:
language-pack-en
language-pack-en-base
language-pack-gnome-en
language-pack-gnome-en-base
language-support-en
thunderbird-locale-en-gb

If it just try to remove writer, base or what ever, all of it language packs are selected.



I will see the link you give me.

Thanks
epsilon_da
 
Posts: 5
Joined: Mon Mar 24, 2008 4:43 pm

Re: [Ubuntu] Installing OOo on Debian and Co.

Postby epsilon_da » Mon Mar 24, 2008 8:11 pm

Hey, i have just installed from rpm and it worked nice without removing any system package.
I think that it is a much more safe way to update openoffice on ubuntu.

I only have one problem. Openoffice doesnt get the installed or the provided java.

The rpms comes with a java 1.6 wich should be installed on /usr/java but i lefted it in /opt/openoffice/usr/java.

I tryed to change in Tool -> Options -> OpenOffice.org -> Java
And add the /usr/bin/java already installed on my system, but it keeps saying "The folder you selected does not contain a java runtime environment. Please select a different folder.". It says the same if i try to setup the java provided by the rpms.
epsilon_da
 
Posts: 5
Joined: Mon Mar 24, 2008 4:43 pm

Re: [Ubuntu] Installing OOo on Debian and Co.

Postby Hagar Delest » Mon Mar 24, 2008 8:20 pm

Have you converted the RPMs in DEBs? or used the other method? You can try to convert the RPM package for Java to deb and install it to see if it upgrades the current one.
AOO 4.1.7 on Xubuntu 20.04 and 4.1.5 on Windows 10 (with winPenPack port).
User avatar
Hagar Delest
Moderator
 
Posts: 28998
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: [Ubuntu] Installing OOo on Debian and Co.

Postby epsilon_da » Mon Mar 24, 2008 9:00 pm

I used the rpm2cpio method. Not the RPM to DEB.

My OpenOffice 2.3.0 has java configured to /usr/lib/jvm/java-6-sun-1.6.0.03/jre

But configuring this path in 2.3.1 shows the above message.

Also, the "Add.." dialogs are different.
In 2.3.0 is a gtk dialog and it allows me to add the same path again without errors.
In 2.3.1 the dialog is more windowish and doesnt shows any file on the browsed directory, only shows dirs, and doesnt show any filtering information. It does not accept the previous path or any other.

Also, the installed java is the same version as the provided.

Could be a bug in the "add.." dialog?
epsilon_da
 
Posts: 5
Joined: Mon Mar 24, 2008 4:43 pm

Re: [Ubuntu] Installing OOo on Debian and Co.

Postby Hagar Delest » Tue Mar 25, 2008 5:30 pm

Strange that the default Java environment is not recognized. The dialog only shows the directories, that's normal behavior IIRC. I'm not at home, I can't check right now. But if you've used the rpm2cpio method, I think it can't work for the Java installation. You should try to convert only the Java package to a .deb and install that .deb. Perhaps that it will create a missing file/link.
AOO 4.1.7 on Xubuntu 20.04 and 4.1.5 on Windows 10 (with winPenPack port).
User avatar
Hagar Delest
Moderator
 
Posts: 28998
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: [Ubuntu] Installing OOo on Debian and Co.

Postby epsilon_da » Tue Mar 25, 2008 7:53 pm

I think that i have found wha is the problem.
I have my system in 64 bits.
So the java in my path is 64 bits.
But, OOo 2.3.1 is 32 bits and runs perfectly.
It may need a 32 bits java. So i should use the provided one.
The OOo provided java is under /opt/OpenOffice.org2.3.1/usr/java/java-version/...
But OOo doesnt take this directory when i try to setup.
I tryed to move it to /usr/java/... both also doesnt work.

I tried to run 32 bits OOo's java. And give me the next results:
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object

Then i tryed with linux32 java, and it worked.
So it mey be a bits-weight problem. I dont know how OOo uses java and for what but it maybe is trying to load a 32 bits lib in 64 bits mode, or running the commandline java without linux32.

Any way, i think that wont be a fix for that until i recompile the entire OOo.

OOo is working perfectly, for what kind of uses should i need java on it?
epsilon_da
 
Posts: 5
Joined: Mon Mar 24, 2008 4:43 pm

Re: [Ubuntu] Installing OOo on Debian and Co.

Postby Hagar Delest » Tue Mar 25, 2008 10:11 pm

AOO 4.1.7 on Xubuntu 20.04 and 4.1.5 on Windows 10 (with winPenPack port).
User avatar
Hagar Delest
Moderator
 
Posts: 28998
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: [Ubuntu] Installing OOo on Debian and Co.

Postby Unstuck » Sun Mar 30, 2008 5:54 am

You should see a new folder, say ooo_inst_folder.


After completing step 3, I didn't see a new folder and a search of the file system didn't locate it either. Any ideas?
Open Office 2.3.0 on Ubuntu 7.10
User avatar
Unstuck
 
Posts: 3
Joined: Sun Mar 16, 2008 4:39 pm
Location: U.S.A.

Re: [Ubuntu] Installing OOo on Debian and Co.

Postby Hagar Delest » Sun Mar 30, 2008 12:52 pm

Run a 'ls' to see what are the folders available.
AOO 4.1.7 on Xubuntu 20.04 and 4.1.5 on Windows 10 (with winPenPack port).
User avatar
Hagar Delest
Moderator
 
Posts: 28998
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: [Ubuntu] Installing OOo on Debian and Co.

Postby Unstuck » Sun Mar 30, 2008 5:15 pm

Thanks, Hagar. Great directions!
Open Office 2.3.0 on Ubuntu 7.10
User avatar
Unstuck
 
Posts: 3
Joined: Sun Mar 16, 2008 4:39 pm
Location: U.S.A.

Re: [Ubuntu] Installing OOo on Debian and Co.

Postby Hagar Delest » Sun Mar 30, 2008 5:27 pm

I've rewritten the post few hours ago taking into account your comments, it should be clearer than before.
AOO 4.1.7 on Xubuntu 20.04 and 4.1.5 on Windows 10 (with winPenPack port).
User avatar
Hagar Delest
Moderator
 
Posts: 28998
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: [Ubuntu] Installing OOo on Debian and Co.

Postby quixote7 » Mon Mar 31, 2008 2:54 am

(Why does OO have to make installing so braindead? WHY?) Okay, I feel better. I uninstalled my old OO (2.2) in Synaptic as per Step 1. I downloaded the deb.tar.gz for 2.4. In the third step: sudo dpkg -i *.deb I get the error message that there is no such file as "install". :x

A look through the downloaded and unpacked dirs shows that the top created dir has a shell script called "update" but that there is indeed no "install" either there or in the subdirs. :x :x

I'm not wise in the ways of dpkg. Can I just type this:
Code: Select all   Expand viewCollapse view
sudo  dpkg -u *.deb
Probably not. Especially since this is presumably NOT an update. The old version 2.2 is uninstalled.

Hope there's a simple solution!

Thanks for these instructions, by the way. It beats my old method, where I wound up with three installed versions of OO taking up gobs of space on my hard disk! (Did I mention that I hate hate hate OO's idea of an install package?)
quixote7
 
Posts: 5
Joined: Mon Mar 31, 2008 2:40 am

Re: [Ubuntu] Installing OOo on Debian and Co.

Postby quixote7 » Mon Mar 31, 2008 4:14 am

I tried
Code: Select all   Expand viewCollapse view
sudo ./update
since I thought since it's a shell script, maybe I should just run it like a shell script. :D That seems to be the right idea, but now I get a list of errors saying it's "skipping deselected package openoffice-whatever" i.e. all the packages I marked for removal under synaptic.

Should I have marked them for complete removal? It said that would get rid of all my config files, and I was sort of hoping I wouldn't have to recustomize OO all over again.

Continuing puzzled....
quixote7
 
Posts: 5
Joined: Mon Mar 31, 2008 2:40 am

Re: [Ubuntu] Installing OOo on Debian and Co.

Postby quixote7 » Mon Mar 31, 2008 5:17 am

This is Really Embarrassing. :oops: I managed to skip the step about changing dirs to the DEBS subdirectory.

Once I did that before the sudo dpkg -i *.deb command, it worked like a charm. Duh.

Thanks again for this great howto!
quixote7
 
Posts: 5
Joined: Mon Mar 31, 2008 2:40 am

Re: [Ubuntu] Installing OOo on Debian and Co.

Postby Villeroy » Mon Mar 31, 2008 12:40 pm

I'm not a scripting guru, but a quick look into that offending script "update", shows that it does a whole lot of fuzz to determine how to get a root shell under Gnome or KDE and if there are rpms or debs. On a debian-like system it finally calls with root privileges:
Code: Select all   Expand viewCollapse view
dpkg --install --selected-only --recursive ./DEBS

Well, that seems to be pretty much the same as
Code: Select all   Expand viewCollapse view
cd DEBS
dpkg -i *.deb
cd desktop-integration
dpkg -i *.deb


although I can not understand the meaning of --selected-only
man dpkg wrote:-O | --selected-only
Only process the packages that are selected for installation. The actual marking is done with
dselect or by dpkg, when it handles packages. For example, when a package is removed, it will
be marked selected for deinstallation.

What is that "marking"? Why mark it before removal?
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04, no OpenOffice, LibreOffice 6.4
User avatar
Villeroy
Volunteer
 
Posts: 28664
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: [Ubuntu] Installing OOo on Debian and Co.

Postby quixote7 » Mon Mar 31, 2008 8:02 pm

I must admit, I didn't look at the script. But you're right. That does look like the long way around to the same idea.
quixote7
 
Posts: 5
Joined: Mon Mar 31, 2008 2:40 am

Re: [Ubuntu] Installing OOo on Debian and Co.

Postby tubegeek » Tue Apr 01, 2008 1:16 am

Thanks! Worked great!

Question:

How do I convince Update Manager not to inform me about "updating" to 1.23.Ubuntu versions? It's going to be a problem to constantly have the orange Updates Available icon constantly showing - I'll never know if I have a REAL update.
tubegeek
 
Posts: 3
Joined: Tue Apr 01, 2008 1:13 am

Re: [Ubuntu] Installing OOo on Debian and Co.

Postby Villeroy » Tue Apr 01, 2008 1:33 am

As long as the vanilla version is higher than the Ubuntu version, this should be no problem, I believe. If unshure, I would read the apt reference once again, particulary about "pinning".
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04, no OpenOffice, LibreOffice 6.4
User avatar
Villeroy
Volunteer
 
Posts: 28664
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Next

Return to Linux

Who is online

Users browsing this forum: No registered users and 2 guests