Re: How to change the way to the installation path for OpenOffice , on a Solaris machine?

Simona Pasca <[email protected]> Tue, 12 Apr 2011 15:34:29 +0300
Newsgroups gmane.comp.openoffice.devel.general
Message-ID <[email protected]>
Hello,

Thank you for your response.

My destination directory , ( the directory where I need that openOffice 
tool to be install ) is:
*/opt/swe/tools/ext/openOffice/openoffice-3.3.0/sparc-solaris2.8/*

I need to have the tool under this location because it has to be use 
after under *"/opt/swe/ "*

The main purpose for what I have to install OpenOffice on a 
Sparc-Solaris2.8 machine, is that there are some teams that require 
this, and they
want to use this tool on this architecture (  Sparc-Solaris2.8 ).

So, you suggest me:
  - to untar the archive

*$ gunzip -c* 
/opt/swe/install/*OOOo_3.3.0_Solaris_Sparc_install-wJRE_fr.tar.gz | tar 
xvf -*

- go in the directory *... /packages*   , that appear after I have 
dezarchivate the archive

*$ cd ..../packages*


- this step I don't understand very well what it is doing ??

/*$ perl -pe 's/ask/nocheck/' /var/sadm/install/admin/default>  /tmp/nocheck*/

- and then create the directory where I want the tool to be install ?

*# mkdir//alternative/*



- and then give this command:

*# pkgadd -R /alternative -a /tmp/nocheck -d . openofficeorg-core* openofficeorg-*[^0-9]*

But before this command I don't need to run*./setup*command ?
Or this command "pkgadd " will make the installation of openOffice in "**/alternative**  " location without giving "./setup" before?

I am waiting for your answer.

Thank you,

Best regards,
Simona

__________________________
On 12/04/2011 12:13, tora - Takamichi Akiyama wrote:
> Hi,
>
> On 2011/04/12 15:25, Simona Pasca wrote:
>   >>  Could you please help me with this information's ,and tell me which is the method to change the installation path to openOffice-3.3.0 tool , on a sparc-solaris2.8 machine ?
>
> What destination directory will you need to alter from the default one, /opt, to?
>
> What is the primary reason why you will need to do so?
>
> What is the main purpose you will use OpenOffice.org on Solaris 2.8 SPARC?
>
> And so on...
>
> Could you give us your brief feedback about OpenOffice.org in return for getting information on your inquiry?
>
>
> BTW, http://www.openoffice.org/dev_docs/source/sys_reqs.html says
> OpenOffice.org 3 ... Solaris 10 OS or higher
> OpenOffice.org 2 ... Solaris 8 OS or higher
>
> OpenOffice.org 2.4.3 is available at "Archive" mirror servers.
> http://distribution.openoffice.org/mirrors/
>
> You could theoretically alter the installation directory by giving -R option to the "pkgadd" command in a normal way that Solaris offers.
> But I am not sure though, even I have running Solaris 9 SPARC systems, but no Solaris 8 one. Those systems are a production system, not for experiments.
>
> The way might be like this, I guess:
> $ gtar -zxf ....
> $ cd ..../packages
> $ perl -pe 's/ask/nocheck/' /var/sadm/install/admin/default>  /tmp/nocheck
> # mkdir /alternative
> # pkgadd -R /alternative -a /tmp/nocheck -d . openofficeorg-core* openofficeorg-*[^0-9]
>
> I assume that you understand a purpose of the -R option.
> That would also create /alternative/etc, share, usr, var, as well as opt.
>
> I am curious to hear your feedback!
>
> Best regards,
> Tora
>    

-- 
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help