OpenOffice.org 1.1

Preparation
- Perform this stage using your functioning PC.
- Download the OpenOffice.org binaries from http://www.openoffice.org.
- Visit http://www.openoffice.org and click on the quick download link. Select the correct language, Linux and a local mirror from the drop-down boxes. The download should start automatically.
- At the time of writing the latest version of OpenOffice.org was version 1.1.0, so the file downloaded was
OOo_1.1.0_LinuxIntel_install.tar.gz.
- At the time of writing the latest version of OpenOffice.org was version 1.1.0, so the file downloaded was
- You will be asked to where you wish to save the file. Chose a safe place and make a note of it.
- The download is about 72.6MB and will take a few hours to download over a modem, and about 10 minutes over a broadband connection.
- If you are using a download accelerator program, it will save the file to your default download directory.
- Visit http://www.openoffice.org and click on the quick download link. Select the correct language, Linux and a local mirror from the drop-down boxes. The download should start automatically.
- Download the Mktemp source code from http://www.mktemp.org/mktemp.
- Visit http://www.mktemp.org/mktemp and click on the link for the latest version.
- You will need the source code in
.tar.gzformat.- At the time of writing the latest version of Mktemp was version 1.5, so the file downloaded was
mktemp-1.5.tar.gz.
- At the time of writing the latest version of Mktemp was version 1.5, so the file downloaded was
- You will be asked to where you wish to save the file. Chose a safe place and make a note of it.
- The download is about 68.8kb and will take a few seconds to download over a modem, and a lot less over a broadband connection.
- If you are using a download accelerator program, it will save the file to your default download directory.
- Burn the files
OOo_1.1.0_LinuxIntel_install.tar.gzandmktemp-1.5.tar.gzto a CD. This page assumes that the subdirectory/appsis used for the.tar.gzfile. The CD-ROM can be a multi-session disk.- Use your CD burning software to create an ISO9660 disc image with the files
OOo_1.1.0_LinuxIntel_install.tar.gzandmktemp-1.5.tar.gzin the/appsdirectory. - Burn the CD and verify the data stored on it.
- Use your CD burning software to create an ISO9660 disc image with the files
Booting
- Perform this stage and subsequent stages, unless otherwise stated, using your Core Linux PC.
- Boot your Core Linux PC.
- Login as
root. You will need to enter the password at the prompt.- Wait for the following text to appear:
localhost login: - Type
rootand press Enter. - The screen will display this message:
Password: - Enter the password for
rootthat you set earlier. - You will be shown a prompt that looks like this:
[~]#
- Wait for the following text to appear:
Extract the binaries and source code
- Place the CD-R in the CD-ROM drive. Mount the CD-ROM drive under
/mnt/cdrom.- At the prompt enter:
mount /dev/hdb /mnt/cdrom - You will see the following line appear:
mount: block device /dev/hdb is write-protected, mounting read-only
- At the prompt enter:
- Change to the
/appsdirectory on the CD-R.- At the prompt enter:
cd /mnt/cdrom/apps - The prompt will change to:
[/mnt/cdrom/apps]#
- At the prompt enter:
- Copy the
OOo_1.1.0_LinuxIntel_install.tar.gzfile to the directory/usr/src.- At the prompt enter:
cp OOo_1.1.0_LinuxIntel_install.tar.gz /usr/src - The system will not display a message if everything is OK.
- At the prompt enter:
- Copy the
mktemp-1.5.tar.gzfile to the directory/usr/src.- At the prompt enter:
cp mktemp-1.5.tar.gz /usr/src - The system will not display a message if everything is OK.
- At the prompt enter:
- Change to the
/usr/srcdirectory and extract the Mktemp source from the.tar.gzfile.<- At the prompt enter:
cd /usr/src - The prompt will change to:
[/usr/src]# - At the prompt enter:
tar -zxvf mktemp-1.5.tar.gz - A long stream of unzipping files and directories should scroll up the screen for a few seconds.
- At the prompt enter:
- Change to the
/usr/srcdirectory and extract the OpenOffice.org binaries from the.tar.gzfile.<- At the prompt enter:
cd /usr/src - The prompt will change to:
[/usr/src]# - At the prompt enter:
tar -zxvf OOo_1.1.0_LinuxIntel_install.tar.gz - A long stream of unzipping files and directories should scroll up the screen for a few seconds.
- At the prompt enter:
Configure and compile Mktemp
- Change to the
/usr/src/mktemp-1.5directory.- At the prompt enter:
cd mktemp-1.5 - The prompt will change to:
[/usr/src/mktemp-1.5]#
- At the prompt enter:
- Run the
configurescript.- At the prompt enter:
./configure - A long stream of processes should scroll up the screen for a few seconds.
- The script finishes with the line:
config.status: creating config.h
- At the prompt enter:
- Run the
makeprogram.- At the prompt enter:
make - A few lines of information should appear on the screen.
- The program finishes with the line:
gcc -o mktemp mktemp.o prov_mktemp.o random.o
- At the prompt enter:
- Run the
makeprogram with the argumentinstall.- At the prompt enter:
make install - A few lines of information should appear on the screen.
- The program finishes with the lines:
/bin/sh ./install-sh -c -m 044 ./mktemp.man /usr/local/man/man1/mktemp.1
- At the prompt enter:
Installing OpenOffice.org
- Change to the
/usr/src/OOo_1.1.0_LinuxIntel_installdirectory.- At the prompt enter:
cd /usr/src/OOo_1.1.0_LinuxIntel_install - The prompt will change to:
[/usr/src/OOo_1.1.0_LinuxIntel_install]#
- At the prompt enter:
- Run the
installscript.- At the prompt enter:
./install - A few lines of information should appear on the screen.
- The program finishes with the lines:
Installation Completed
- At the prompt enter:
- Start the second stage installation with the command
soffice.- At the prompt enter:
soffice - The system may return the system prompt to the next line whilst the installation program starts.
- The second stage installer will appear.
- At the prompt enter:
- Work through the second stage installer.
- On the "Welcome to the Installation Program" box, click the "Next" button to start the setup routine.
- Read through the information that appears in the "Important Information" box, then click "Next" when done.
- Read through the information that appears in the "Software License Agreement" box. When you reach the end, the "Accept the License Agreement" checkbox will become active. Select the box and then click "Next".
- Enter your personal information in the "Enter User Data" box if you wish. When you have completed the form, or if you do not wish to enter your personal information, click the "Next" button.
- From the "Select Installation Type" box, select the installation type you want: Workstation or Local. This guide uses the example of a local installation. Select the box and then click "Next".
- From the "Select Installation Directory" box, choose a target directory. When you have selected the correct directory, click "Next".
- From the "Start Copying" box, click the "Install" button.
- A dialog box asking for the location of your Java engine will appear. If (as this guide assumes) you have no Java engine installed, select the "Do not use Java with OpenOffice.org 1.1" option. An alert box will appear warning you that "Some functionality within OpenOffice.org 1.1 will be missing if Java support is disabled." Click "OK" on this box and "OK" on the "Java Setup" box.
- The installation routine will now start copying files. This process takes about two minutes to complete.
- From the "Installation Completed" box, click the "Complete" button.
- At the system prompt enter
sofficeto start OpenOffice.org.- OpenOffice.org will start.
- You will be prompted to register OpenOffice.org. If you wish to do so, complete the registration process, otherwise select the "Never Register" optiona and click "OK"
Starting Components
- If you want to start the various components of OpenOffice.org directly, rather than through the OpenOffice.org "launcher", you can use the following commands:
Writer: soffice private:factory/swriterCalc: soffice private:factory/scalcImpress: soffice private:factory/simpressDraw: soffice private:factory/sdrawMath: soffice private:factory/smathWeb Editor: soffice private:factory/swriter/webMaster Template: soffice private:factory/swriter/Global - These commands may be useful if you need to program your Window Manager's menu to start the different elements of OpenOffice.org separately from each other.

The text of this page is licensed under a Creative Commons License.
