I would like to install the latest version of Apache OpenOffice 4.1.1 in my centos system or rhel system, How do I install Apache OpenOffice 4.1.1 on Centos 7/6.5 or RHEL 7/6.5 or Fedora ?this post will guide you how to install apache openoffice program.
Apache OpenOffice 4.1.1 is a micro release intended to fix critical issues. All users of Apache OpenOffice 4.1.0 or earlier are advised to upgrade. You can download Apache OpenOffice 4.1.1 here.
Centos 7 download Apache OpenOffice 4.1.1 package using wget
To download apache openoffice 4.1.1 package,issue the following command:
wget http://sourceforge.net/projects/openofficeorg.mirror/files/4.1.1/binaries/en-US/Apache_OpenOffice_4.1.1_Linux_x86-64_install-rpm_en-US.tar.gz
Outputs:
[root@osetc ~]# wget wget http://sourceforge.net/projects/openofficeorg.mirror/files/4.1.1/binaries/en-US/Apache_OpenOffice_4.1.1_Linux_x86-64_install-rpm_en-US.tar.gz/download -O Apache_OpenOffice_4.1.1_Linux_x86-64_install-rpm_en-US.tar.gz --- http://wget/ Resolving wget (wget)... 61.50.248.117 Connecting to wget (wget)|61.50.248.117|:80... failed: Connection refused. ---- http://sourceforge.net/projects/openofficeorg.mirror/files/4.1.1/binaries/en-US/Apache_OpenOffice_4.1.1_Linux_x86-64_install-rpm_en-US.tar.gz/download Resolving sourceforge.net (sourceforge.net)... 216.34.181.60 Connecting to sourceforge.net (sourceforge.net)|216.34.181.60|:80... connected. HTTP request sent, awaiting response... 302 Found Location: http://downloads.sourceforge.net/project/openofficeorg.mirror/4.1.1/binaries/en-US/Apache_OpenOffice_4.1.1_Linux_x86-64_install-rpm_en-US.tar.gz?r=&ts=1418738690&use_mirror=jaist [following] ...
CentOS 7 Install Apache OpenOffice 4.1.1
Step1# Before installing apacke openoffice 4.1.1, you need to remove the old openoffice or libreoffice package, issue the following command:
yum remove openoffice* libreoffice*
outputs:
[root@osetc ~]# yum remove openoffice* libreoffice* Loaded plugins: fastestmirror, langpacks No Match for argument: openoffice* Resolving Dependencies --> Running transaction check ---> Package libreoffice-calc.x86_64 1:4.1.4.2-3.el7 will be erased --> Processing Dependency: libreoffice-calc for package: unoconv-0.6-7.el7.noarch ---> Package libreoffice-core.x86_64 1:4.1.4.2-3.el7 will be erased ---> Package libreoffice-draw.x86_64 1:4.1.4.2-3.el7 will be erased ---> Package libreoffice-emailmerge.x86_64 1:4.1.4.2-3.el7 will be erased ---> Package libreoffice-graphicfilter.x86_64 1:4.1.4.2-3.el7 will be erased ---> Package libreoffice-impress.x86_64 1:4.1.4.2-3.el7 will be erased ---> Package libreoffice-langpack-en.x86_64 1:4.1.4.2-3.el7 will be erased ---> Package libreoffice-math.x86_64 1:4.1.4.2-3.el7 will be erased ---> Package libreoffice-opensymbol-fonts.noarch 1:4.1.4.2-3.el7 will be erased ---> Package libreoffice-pdfimport.x86_64 1:4.1.4.2-3.el7 will be erased ---> Package libreoffice-pyuno.x86_64 1:4.1.4.2-3.el7 will be erased ---> Package libreoffice-ure.x86_64 1:4.1.4.2-3.el7 will be erased ---> Package libreoffice-writer.x86_64 1:4.1.4.2-3.el7 will be erased --> Running transaction check ---> Package unoconv.noarch 0:0.6-7.el7 will be erased --> Finished Dependency Resolution base/7/x86_64 | 3.6 kB 00:00:00 extras/7/x86_64 | 3.4 kB 00:00:00 updates/7/x86_64 | 3.4 kB 00:00:00 updates/7/x86_64/primary_db | 5.4 MB 00:00:02 --> Running transaction check ---> Package libreoffice-langpack-en.x86_64 1:4.1.4.2-3.el7 will be erased ---> Package libreoffice-langpack-en.x86_64 1:4.1.4.2-3.el7 will be erased --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================ Package Arch Version Repository Size ============================================================================================================================================ Removing: libreoffice-calc x86_64 1:4.1.4.2-3.el7 @anaconda 25 M libreoffice-core x86_64 1:4.1.4.2-3.el7 @anaconda 232 M libreoffice-draw x86_64 1:4.1.4.2-3.el7 @anaconda 2.2 M libreoffice-emailmerge x86_64 1:4.1.4.2-3.el7 @anaconda 57 k libreoffice-graphicfilter x86_64 1:4.1.4.2-3.el7 @anaconda 1.3 M libreoffice-impress x86_64 1:4.1.4.2-3.el7 @anaconda 4.3 M libreoffice-langpack-en x86_64 1:4.1.4.2-3.el7 @anaconda 0.0 libreoffice-math x86_64 1:4.1.4.2-3.el7 @anaconda 3.4 M libreoffice-opensymbol-fonts noarch 1:4.1.4.2-3.el7 @anaconda 556 k libreoffice-pdfimport x86_64 1:4.1.4.2-3.el7 @anaconda 632 k libreoffice-pyuno x86_64 1:4.1.4.2-3.el7 @anaconda 2.3 M libreoffice-ure x86_64 1:4.1.4.2-3.el7 @anaconda 7.6 M libreoffice-writer x86_64 1:4.1.4.2-3.el7 @anaconda 16 M Removing for dependencies: unoconv noarch 0.6-7.el7 @anaconda 196 k Transaction Summary ============================================================================================================================================ Remove 13 Packages (+1 Dependent package) Installed size: 295 M Is this ok [y/N]: y Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Erasing : unoconv-0.6-7.el7.noarch 1/14 Erasing : 1:libreoffice-pdfimport-4.1.4.2-3.el7.x86_64 2/14 Erasing : 1:libreoffice-draw-4.1.4.2-3.el7.x86_64 3/14 Erasing : 1:libreoffice-emailmerge-4.1.4.2-3.el7.x86_64 4/14 Erasing : 1:libreoffice-langpack-en-4.1.4.2-3.el7.x86_64 5/14 Erasing : 1:libreoffice-graphicfilter-4.1.4.2-3.el7.x86_64 6/14 Erasing : 1:libreoffice-calc-4.1.4.2-3.el7.x86_64 7/14 Erasing : 1:libreoffice-impress-4.1.4.2-3.el7.x86_64 8/14 Erasing : 1:libreoffice-math-4.1.4.2-3.el7.x86_64 9/14 Erasing : 1:libreoffice-pyuno-4.1.4.2-3.el7.x86_64 10/14 Erasing : 1:libreoffice-writer-4.1.4.2-3.el7.x86_64 11/14 Erasing : 1:libreoffice-core-4.1.4.2-3.el7.x86_64 12/14 Erasing : 1:libreoffice-opensymbol-fonts-4.1.4.2-3.el7.noarch 13/14 Erasing : 1:libreoffice-ure-4.1.4.2-3.el7.x86_64 14/14 Verifying : 1:libreoffice-langpack-en-4.1.4.2-3.el7.x86_64 1/14 Verifying : 1:libreoffice-calc-4.1.4.2-3.el7.x86_64 2/14 Verifying : 1:libreoffice-opensymbol-fonts-4.1.4.2-3.el7.noarch 3/14 Verifying : 1:libreoffice-emailmerge-4.1.4.2-3.el7.x86_64 4/14 Verifying : 1:libreoffice-pyuno-4.1.4.2-3.el7.x86_64 5/14 Verifying : 1:libreoffice-ure-4.1.4.2-3.el7.x86_64 6/14 Verifying : 1:libreoffice-math-4.1.4.2-3.el7.x86_64 7/14 Verifying : unoconv-0.6-7.el7.noarch 8/14 Verifying : 1:libreoffice-pdfimport-4.1.4.2-3.el7.x86_64 9/14 Verifying : 1:libreoffice-draw-4.1.4.2-3.el7.x86_64 10/14 Verifying : 1:libreoffice-graphicfilter-4.1.4.2-3.el7.x86_64 11/14 Verifying : 1:libreoffice-writer-4.1.4.2-3.el7.x86_64 12/14 Verifying : 1:libreoffice-impress-4.1.4.2-3.el7.x86_64 13/14 Verifying : 1:libreoffice-core-4.1.4.2-3.el7.x86_64 14/14 Removed: libreoffice-calc.x86_64 1:4.1.4.2-3.el7 libreoffice-core.x86_64 1:4.1.4.2-3.el7 libreoffice-draw.x86_64 1:4.1.4.2-3.el7 libreoffice-emailmerge.x86_64 1:4.1.4.2-3.el7 libreoffice-graphicfilter.x86_64 1:4.1.4.2-3.el7 libreoffice-impress.x86_64 1:4.1.4.2-3.el7 libreoffice-langpack-en.x86_64 1:4.1.4.2-3.el7 libreoffice-math.x86_64 1:4.1.4.2-3.el7 libreoffice-opensymbol-fonts.noarch 1:4.1.4.2-3.el7 libreoffice-pdfimport.x86_64 1:4.1.4.2-3.el7 libreoffice-pyuno.x86_64 1:4.1.4.2-3.el7 libreoffice-ure.x86_64 1:4.1.4.2-3.el7 libreoffice-writer.x86_64 1:4.1.4.2-3.el7 Dependency Removed: unoconv.noarch 0:0.6-7.el7 Complete!
Step2# Extrace downloaded pakcage of ApacheOffice 4.1.1
Using the following command to extrace the package so that we can use rpm command to install it.
[root@osetc ~]# tar -xvf Apache_OpenOffice_4.1.1_Linux_x86-64_install-rpm_en-US.tar.gz
outputs:
[root@osetc ~]# tar -xvf Apache_OpenOffice_4.1.1_Linux_x86-64_install-rpm_en-US.tar.gz en-US/ en-US/readmes/ en-US/readmes/README_en-US.html en-US/readmes/README_en-US en-US/RPMS/ en-US/RPMS/openoffice-xsltfilter-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-core04-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-onlineupdate-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-draw-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-brand-impress-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-en-US-math-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-ure-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-impress-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-brand-calc-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-brand-math-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-en-US-calc-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-writer-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-gnome-integration-4.1.1-9775.x86_64.rpm en-US/RPMS/desktop-integration/ en-US/RPMS/desktop-integration/openoffice4.1.1-suse-menus-4.1.1-9775.noarch.rpm en-US/RPMS/desktop-integration/openoffice4.1.1-redhat-menus-4.1.1-9775.noarch.rpm en-US/RPMS/desktop-integration/openoffice4.1.1-mandriva-menus-4.1.1-9775.noarch.rpm en-US/RPMS/desktop-integration/openoffice4.1.1-freedesktop-menus-4.1.1-9775.noarch.rpm en-US/RPMS/openoffice-core02-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-calc-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-brand-base-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-core03-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-brand-draw-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-core01-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-brand-writer-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-graphicfilter-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-pyuno-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-ooofonts-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-core06-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-en-US-help-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-en-US-impress-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-javafilter-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-ogltrans-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-core05-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-en-US-res-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-en-US-base-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-en-US-writer-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-en-US-draw-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-brand-en-US-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-ooolinguistic-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-core07-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-en-US-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-base-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-images-4.1.1-9775.x86_64.rpm en-US/RPMS/openoffice-math-4.1.1-9775.x86_64.rpm en-US/licenses/ en-US/licenses/LICENSE en-US/licenses/NOTICE
Step3# using rpm command with “Uvh” option to install Apache OpenOffice 4.1.1 RPM Packages, type:
cd en-US/RPMS rpm -Uvh RPMS/*.rpm
outputs:
[root@osetc RPMS]# rpm -Uvh *.rpm Preparing... ################################# [100%] Updating / installing... 1:openoffice-ure-4.1.1-9775 ################################# [ 2%] 2:openoffice-core01-4.1.1-9775 ################################# [ 5%] 3:openoffice-en-US-4.1.1-9775 ################################# [ 7%] 4:openoffice-impress-4.1.1-9775 ################################# [ 10%] .... cd 40:openoffice-pyuno-4.1.1-9775 ################################# [ 98%] 41:openoffice-xsltfilter-4.1.1-9775 ################################# [100%]
Change directory to “desktop-integration” in the current directory, then install all rpm packages in this directory:
cd desktop-integration rpm -Uvh openoffice4.1.1-redhat-menus-4.1.1-9775.noarch.rpm
outputs:
[root@osetc desktop-integration]# rpm -Uvh openoffice4.1.1-redhat-menus-4.1.1-9775.noarch.rpm Preparing... ################################# [100%] Updating / installing... 1:openoffice4.1.1-redhat-menus-4.1.################################# [100%] /bin/gtk-update-icon-cache gtk-update-icon-cache: Cache file created successfully. /bin/gtk-update-icon-cache gtk-update-icon-cache: Cache file created successfully.
Step4# issue the “openoffice4” command to startup Apache openoffice 4.1.1. or click “Applications“->”Office” in Menu tab.