Logo
images

How To Install Apache Openoffice4 di Centos 7 Enterprise

Install Apache OpenOffice 4.1.2 on Fedora 24/23/22/21, CentOS/Red Hat (RHEL) 7.2/6.8

1. Download Apache OpenOffice 4.1.2 Linux Package

Apache OpenOffice 4.1.2 32-bit version

Bash

wget http://sourceforge.net/projects/openofficeorg.mirror/files/4.1.2/binaries/en-US/Apache_OpenOffice_4.1.2_Linux_x86_install-rpm_en-US.tar.gz/download -O Apache_OpenOffice_4.1.2_Linux_x86_install-rpm_en-US.tar.gz

Apache OpenOffice 4.1.2 64-bit version

Bash

wget http://sourceforge.net/projects/openofficeorg.mirror/files/4.1.2/binaries/en-US/Apache_OpenOffice_4.1.2_Linux_x86-64_install-rpm_en-US.tar.gz/download -O Apache_OpenOffice_4.1.2_Linux_x86-64_install-rpm_en-US.tar.gz

2. Change to root User

Bash

su -
## OR ##
sudo -i

3. Remove OpenOffice.org and LibreOffice.org Packages with following command

Bash

## Fedora 24/23/22 ##
dnf --setopt=clean_requirements_on_remove=false remove libreoffice*

## Fedora 21/20/19/18/17/16/15/14/13/12 and CentOS/RHEL 7.2/6.8 ##
yum remove openoffice* libreoffice*

4. Extract Package and Access Directory

Apache OpenOffice 4.1.2

Bash

tar -xvf Apache_OpenOffice_4.1.2*

cd en-US

5. Block openoffice.org-ure and libreoffice-ure package updates

In other words, “pin” openoffice.org-ure and libreoffice-ure packages
Add exclude row to /etc/dnf/dnf.conf or /etc/yum.conf file, under the section [main]:

Bash

## Edit file
nano -w /etc/dnf/dnf.conf

## OR ##

nano -w /etc/yum.conf

## Add exclude row
[main]
exclude=openoffice.org-ure* libreoffice-ure*

6. Install / Update Apache OpenOffice 4.1.2 RPM packages

Bash

rpm -Uvh RPMS/*.rpm RPMS/desktop-integration/openoffice4.1.2-redhat-*.rpm
 

7. Start Apache OpenOffice 4.1.2

Start OpenOffice with Clicking Icons (found normally from menus) or Start OpenOffice with Following Command:

Bash

openoffice4
 

TAG

Tinggalkan Komentar