Introduction to OpenOffice

The OpenOffice is an office suite, the Open Source sibling of StarOffice.

Package information

Additional downloads

Installation of OpenOffice

Apply the downloaded patches and optionally copy the gpc files.

mv ../gpc231/* external/gpc &&
for p in ../openoffice-1.1.1-*.patch
do patch -Np1 -i $p

If you want to optimize the build, edit solenv/inc/ and add the desired optimization flags to the CFLAGSOPT variable. Some users have reported problems with -fomit-frame-pointer. The best option is to not use any custom optimizations. The following command removes an incorrect -mcpu option in the above file.

sed -i "s:\-mcpu=pentiumpro::" \

Configure openoffice using the following commands. You may build install sets for only specific languages based on your preferences. If a particular component is not available in the language of your choice, the default will be English. The following option compiles all available languages. If you restrict the languages, be sure to add ENUS to the list; otherwise the build fails. Also, the build fails when the environment variable LANG is set. Unset it before compiling.

cd config_office/ &&
./configure --with-lang=ALL \
--with-dict=ALL --without-fonts \
--enable-libsn --with-system-zlib &&
cd ..

Compile OpenOffice using the following commands.



Openoffice fails to compile if the umask is set to something exotic. Set umask to 022 if you normally set it to something else.

./bootstrap &&
bash -c "source; dmake"

If you have downloaded localized help content zip files, you will need to unzip them to the appropriate directory as mentioned below and then recreate the installation set.

cd solver/645/ &&
for i in $(ls ../../../../../helpcontent_*_unix.tgz)
tar -xvzf $i
done &&
cd ../../../../instsetoo &&
rm -rf &&
cd .. &&
bash -c "source ; dmake"

Install OpenOffice using the following commands to install the English language set. To install a localized version, replace the 01 with the international telephone country code for your country. Note that when installing, OpenOffice needs an X display, even though there is no visible X window. You can use Xvfb if you are compiling on a console.

cd instsetoo/ &&
sed -i "s:^oo_home=.*:oo_home=openoffice:" install &&
./install --prefix=/opt &&
for appl in swriter scalc sdraw simpress smath soffice spadmin
do ln -sf /opt/openoffice/program/$appl /usr/bin/$appl

Command explanations

mv ../gpc231/gpc.* external/gpc: Copy the gpc files to the appropriate location.

--with-lang=ALL: Make install sets for all available languages.

--with-dict=ALL: Install dictionaries for all available languages..

--with-libart: Use libart instead of gpc for polygon clipping.

--with-libsn: Use startup-notification.

--disable-java: Do not build components that need java.

--without-gpc: Do not use gpc. Removes polygon clipping capability.

--without-fonts: Do not install Bitstream Vera fonts since they are already bundled with X.

./bootstrap: Create packages required to bootstrap the build.

dmake: Compile the package.

sed -i "s:^oo_home=...: Remove version specific installation directory.

for appl in swriter scalc sdraw simpress smath soffice; do ...: Create links so that the package can be started from the command-line without changes to the existing path.


The OpenOffice package contains swriter, simpress, scalc, sdraw, smath, and spadmin.



Word processing application.


Presentation application.


Spreadsheet application.


Drawing application.


Mathematical formula editor.


OpenOffice Printer Configuration. You may need to run this if you are having any printing problems.