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.
Installing OpenOffice in alternate directory with rpm
-
- Posts: 1
- Joined: Sat Aug 13, 2016 12:06 am
Installing OpenOffice in alternate directory with rpm
- Doug N
OpenOffice 4.1.2, RHEL 6.7
OpenOffice 4.1.2, RHEL 6.7
Re: Installing linux openoffice in alternate directory with
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.
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