LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   How to Install OpenOffice 2.0 on Slackware 10.2 (https://www.linuxquestions.org/questions/slackware-14/how-to-install-openoffice-2-0-on-slackware-10-2-a-392440/)

JockVSJock 12-13-2005 02:18 PM

How to Install OpenOffice 2.0 on Slackware 10.2
 
Ok, so I finally blew away Ubuntu on my laptop and installed Slackware 10.2.

Got it up and running in no time and now I've installed OpenOffice 10.2 from LinuxPackages.net under /usr/local/open_office.

I've unpackaged the tar file and see an install directory, but no directions on how to install.

Can anyone help out?

thanks

tuxdev 12-13-2005 02:20 PM

just do "installpkg package.tgz". Delete the stuff that got unpacked while you are at it.

mjjzf 12-13-2005 02:32 PM

Pretty much depends on which package you downloaded. The official packages from openoffice.org or a package from linuxpackages.net?

tuxdev 12-13-2005 02:36 PM

He said linuxpackages.net, so it is a standard Slack package.

mjjzf 12-13-2005 02:46 PM

Oh, the ailing eyes.
Anyway, yes - in that case it should not be unpacked first.
Personally, I grabbed it from the RPM version from OOo and converted it with rpm2tgz. I have sometimes been... disappointed with the LinuxPackages files.

JockVSJock 12-13-2005 03:37 PM

Quote:

Originally Posted by tuxdev
just do "installpkg package.tgz". Delete the stuff that got unpacked while you are at it.

Ok, I did what you said, and it worked like a charm.

Now, how do I fix X so that OpenOffice runs ok? Shit, this is never easy...

Code:

./soffice
/opt/openoffice.org-2.0/program/soffice.bin X11 error: Can't open display:
Set DISPLAY environment variable, use -display option
or check permissions of your X-Server
(See "man X" resp. "man xhost" for details)


tuxdev 12-13-2005 03:45 PM

Do you have X configured and running? To configure X, run "xorgcfg -textmode"

JockVSJock 12-14-2005 08:10 AM

Quote:

Originally Posted by tuxdev
Do you have X configured and running? To configure X, run "xorgcfg -textmode"

Yes, I am using Fluxbox as the Windowsmanager, and Open Office won't work.

But, I switched over to KDE and OpenOffice is already installed and works great.

I guess I don't understand, why I couldn't see OpenOffice from Fluxbox and why it works fine under KDE?

tuxdev 12-14-2005 12:12 PM

The problem is with the DISPLAY enviroment variable. I have encountered this when
1. X is not running
2. I am using ssh and not redirecting the DISPLAY.
3. I am root trying to start an app I just installed while I am a user.

JockVSJock 12-14-2005 12:48 PM

Honestly, I'm going to run KDE as my windowsmanager, and not Fluxbox.
Looks like Open_Office is already installed with it.

SO, I've installed Open_Office under /usr/local and I want to remove this package.

I went under /var/log/packages and it is there, but I want to make sure first that I don't have Open_Office installed twice, how can I be sure?

thanks

tuxdev 12-14-2005 12:54 PM

1. The package is designed to integrate with KDE.
2. Delete /usr/local/Open_Office cause it is useless.


All times are GMT -5. The time now is 01:34 PM.