My name is David Rao
I'm an old time linux user way back to kernel verion 0.99 and a keen supporter 
of Open Source (I've a few projects myself on sourceforge ... unfortunately I 
no longer have time to maintain them).

I use Open Office as a MS Office replacement and I often end up manually 
installing Open Office on non redhat based distributions.
I just subscribed here to let anyone else intrested on a quick and dirty way to 
get Open Office instelled on a non rpm based distribution.

The problem with that is that although generally all required packages are 
installed even if you have the Redhat Package Manager installed the database is 
empty and the Open Office installer will fail all dependencies.

What I do to work around this is open up the detail box to get a list of the 
packages I wanted to install (after a custom setup) and paste it into a file 
that I then manipulate with vi to make it into a install script that will 
install the packages ignoring dependencies.

Here is a copy of my last such effort:
PKG_LIST="jre-6u20-linux-i586.rpm ooobasis3.2-base-3.2.1-9502.i586.rpm 
ooobasis3.2-binfilter-3.2.1-9502.i586.rpm ooobasis3.2-calc-3.2.1-9502.i586.rpm 
ooobasis3.2-core01-3.2.1-9502.i586.rpm ooobasis3.2-core02-3.2.1-9502.i586.rpm 
ooobasis3.2-core03-3.2.1-9502.i586.rpm ooobasis3.2-core04-3.2.1-9502.i586.rpm 
ooobasis3.2-core05-3.2.1-9502.i586.rpm ooobasis3.2-core06-3.2.1-9502.i586.rpm 
ooobasis3.2-core07-3.2.1-9502.i586.rpm ooobasis3.2-draw-3.2.1-9502.i586.rpm 
ooobasis3.2-en-US-3.2.1-9502.i586.rpm 
ooobasis3.2-en-US-base-3.2.1-9502.i586.rpm 
ooobasis3.2-en-US-binfilter-3.2.1-9502.i586.rpm 
ooobasis3.2-en-US-calc-3.2.1-9502.i586.rpm 
ooobasis3.2-en-US-draw-3.2.1-9502.i586.rpm 
ooobasis3.2-en-US-help-3.2.1-9502.i586.rpm 
ooobasis3.2-en-US-impress-3.2.1-9502.i586.rpm 
ooobasis3.2-en-US-math-3.2.1-9502.i586.rpm 
ooobasis3.2-en-US-res-3.2.1-9502.i586.rpm 
ooobasis3.2-en-US-writer-3.2.1-9502.i586.rpm 
ooobasis3.2-graphicfilter-3.2.1-9502.i586.rpm
 ooobasis3.2-images-3.2.1-9502.i586.rpm ooobasis3.2-impress-3.2.1-9502.i586.rpm 
ooobasis3.2-math-3.2.1-9502.i586.rpm 
ooobasis3.2-onlineupdate-3.2.1-9502.i586.rpm 
ooobasis3.2-ooofonts-3.2.1-9502.i586.rpm 
ooobasis3.2-oooimprovement-3.2.1-9502.i586.rpm 
ooobasis3.2-ooolinguistic-3.2.1-9502.i586.rpm 
ooobasis3.2-pyuno-3.2.1-9502.i586.rpm ooobasis3.2-writer-3.2.1-9502.i586.rpm 
openoffice.org-ure-1.6.1-9502.i586.rpm openoffice.org-userland-1.0-0.noarch.rpm 
openoffice.org3-3.2.1-9502.i586.rpm openoffice.org3-base-3.2.1-9502.i586.rpm 
openoffice.org3-calc-3.2.1-9502.i586.rpm 
openoffice.org3-dict-en-3.2.1-9502.i586.rpm 
openoffice.org3-dict-es-3.2.1-9502.i586.rpm 
openoffice.org3-dict-fr-3.2.1-9502.i586.rpm 
openoffice.org3-draw-3.2.1-9502.i586.rpm 
openoffice.org3-en-US-3.2.1-9502.i586.rpm 
openoffice.org3-impress-3.2.1-9502.i586.rpm 
openoffice.org3-math-3.2.1-9502.i586.rpm 
openoffice.org3-writer-3.2.1-9502.i586.rpm"

for PKG in $PKG_LIST
do
  if [ -f ./RPMS/$PKG ]  
  then
    rpm -i --force --nodeps ./RPMS/$PKG
  else
    #the package is not in the main RPMS directory ... will try to find it
    MPKG=$(find . -type f -name $PKG |tail -i)
    [ -f $MPKG ] && rpm -i --force --nodeps $MPKG
  fi
done

Maybe one day the Open Office install script will in someway address non rpm 
based distributions ... in the meantime this might be of some help.
The PGK_LIST variable is to be extracted from the detail error message box and 
will depend on the version and on what your install selection is.




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to