Installing OpenOffice in alternate directory with rpm
Posted: 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.
"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.