Linux Pre-installation Notes
The following preinstallation steps are recommended for Linux distributions. These should be taken to assure that you have a clean install of Apache OpenOffice due to internal considerations and/or the installation of LibreOffice, if it exists, on your system.- Check to see if LibreOffice has re-routed the OpenOffice binary.
Type"whereis soffice"from a console.
If this is symlinked to libreoffice, remove the symlink. (see your favorite reference for how to do this)
This will NOT remove LibreOffice, this will only disallow LibreOffice to redirect the normal OpenOffice binary -- typically/usr/bin/soffice-- to libreoffice instead. - Due to directory structure changes in Apache OpenOffice 4.x versions, your older Openoffice 3.x should be deleted entirely by a new install or update process. This is normal. If you experience problems using the "update" process, please remove the old OpenOffice 3.x packages manually.
- If you have been testing one of the older developer snapshots, not the released version, revision 150370, completely remove this old version before attempting a new install or update.
- See java requirements.
Installation Steps -- RPM or DEB: Download to Installation Directory, Unpack
- Review the System Requirements
- Download your favorite Linux version of Apache OpenOffice
- Unpack the downloaded package to prepare for installation.
The following command should work:tar -xvzf "linux package name".tar.gz
where "linux package name" is the beginning part of the archive you just downloaded.
This will create an installation directory.
The name of the installation directory will likely be the language abbreviation for the install set, e.g., en-US. - Add the install directory as a "local repository" for your GUI package manager if possible. This will enable you to do a GUI install rather than command line.
- Desktop integration.
Desktop integration for deb-based systems requires installation of one package.
Historically, for rpm based systems, OpenOffice has provided desktop integration packages for madriva, redhat, suse, and now freedesktop. These packages are located in the desktop-integration subdirectory of the install directory.
Many desktop window managers like KDE4, Gnome3, and Unity now adhere to the freedsktop.org standard for icon placement and mime-type definitions. For this reason, you may want to install the freedesktop desktop integration package first before trying the others.
Linux RPM-based Installation
suto root, if necessary, and navigate to Apache OpenOffice installation directory.
You will likely need to be root to run the rpm command to install the software.cdinto the RPMS subdirectory of the installation directory.
You should see a lot of rpms here and one sub-directory called "desktop-integration".- Install this new version by typing
rpm -Uvih *rpm.
By default, this will install Apache OpenOffice in your/optdirectory.
Alternatively, you can use a GUI package installer, reference the installation directory, and install all rpms at the top level. This may also aid you in determing any dependency problems if they exist. - Install the desktop integration features for your setup.
cdtodesktop-integration(in the installation directory),
and install an appropriate desktop interface using RPM. (Try the freedesktop-menus first.) - Finally, start up Apache OpenOffice 4.x.x to insure it's working.
Linux DEB-based Installation
- One you download the Apache OpenOffice tar.gz package, you should be able to decompress typing.
tar Apache-OpenOfficeX.X.X.tar.gzpackage or using programs such as Ark, or File-Roller. cdinto the DEBS subdirectory of the installation directory.
You should see a lot of debs here and one sub-directory called "desktop-integration".- Install this new version by typing
sudo dpkg -i *.debor become root usingsucommand.
By default, this will install/update Apache OpenOffice in your/optdirectory.
Alternatively, you can use a GUI package installer, reference the installation directory, and install all debs at the top level. This may also aid you in determing any dependency problems if they exist. - Install the desktop integration features for your setup.
cdtodesktop-integration(in the installation directory),
and install the desktop intgration using dpkg. - Finally, start up Apache OpenOffice 4.x.x to insure it's working.
soffice and is located in /opt/OpenOffice4/program/A softlink is created on your /usr/local/bin/ directory. You can always map to the original at /opt/ if it doesnt start
for whatever reason.
Additional Linux Information
Apache OpenOffice provided packages
The Linux downloads provided on the Apache OpenOffice site (mirrors) are generic for either the RPM- or DEB-based package managers. If you have experience in directly installing these types of packages on your system, one of these types of installs should work for you. They are not specific to a particular Linux distribution.Apache OpenOffice from Linux distros
Some Linux distributions now include a version of Apache OpenOffice in their own native package manager format (.rpm, .deb, etc.) either from their own repositories or community repositories which they support. These packages have been built and are supported by the distributions' own teams or community members, not by Apache OpenOffice. Some distributions have strict policies around licensing, which means they have chosen to disable parts of Apache OpenOffice which rely on software which does not meet their criteria.Note: Please check carefully before using a third-party build that it does actually include all the parts of Apache OpenOffice that you will require. Replacing a 'native' distribution build with the full Apache OpenOffice original build can be tricky, but can usually be successfully accomplished by completely removing the existing 'native' install.
No comments:
Post a Comment