Installing OpenOffice in alternate directory with rpm

Issues with installing under all Linux Distributions

Installing OpenOffice in alternate directory with rpm

Postby dougneuhauser » Sat Aug 13, 2016 12:17 am

I downloaded the openoffice 4.1.2 64-bit linux x86-64 rpms, and tried to use
"rpm -Uvh --relocate /opt=/share/apps RPMS/*.rpm RPMS/desktop-integration/openoffice4.1.2-redhat-*.rpm"
to install the package in the directory /share/apps rather than /opt. rpm indicated that at least one of the
packages could not relocate.

What is the appropriate way to install openoffice in a directory other than /opt?
I finally installed it /opt, then ran
mv /opt/openoffice4 /share/apps/
and openoffice appears to work correctly, but I would prefer to do the initial install in my desired destination.
Thanks.
- Doug N
OpenOffice 4.1.2, RHEL 6.7
dougneuhauser
 
Posts: 1
Joined: Sat Aug 13, 2016 12:06 am

Re: Installing linux openoffice in alternate directory with

Postby acknak » Sat Aug 13, 2016 4:42 am

I use this:

rpm -i --prefix /opt/aoodev/AOO412 *.rpm

I find that I have to include --nodeps to ignore dependency problems but you may want to try one first without that.
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22685
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3


Return to Linux

Who is online

Users browsing this forum: No registered users and 2 guests