tonywhitmore.co.uk  

      blog : gallery : wiki : articles : projects : shell scripts : wallpaper : cv : links :
 Project Homepage

OpenOffice.org 1.1
OpenOffice.org Logo

Preparation

  1. 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.
    • 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.
  2. 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.gz format.
      • At the time of writing the latest version of Mktemp was version 1.5, so the file downloaded was mktemp-1.5.tar.gz.
    • 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.
  3. Burn the files OOo_1.1.0_LinuxIntel_install.tar.gz and mktemp-1.5.tar.gz to a CD. This page assumes that the subdirectory /apps is used for the .tar.gz file. 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.gz and mktemp-1.5.tar.gz in the /apps directory.
    • Burn the CD and verify the data stored on it.

Back to simple version

Booting

  1. Boot your Core Linux PC.
  2. Login as root. You will need to enter the password at the prompt.
    • Wait for the following text to appear:
      localhost login:
    • Type root and press Enter.
    • The screen will display this message:
      Password:
    • Enter the password for root that you set earlier.
    • You will be shown a prompt that looks like this:
      [~]#

Back to simple version

Extract the binaries and source code

  1. 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
  2. Change to the /apps directory on the CD-R.
    • At the prompt enter:
      cd /mnt/cdrom/apps
    • The prompt will change to:
      [/mnt/cdrom/apps]#
  3. Copy the OOo_1.1.0_LinuxIntel_install.tar.gz file 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.
  4. Copy the mktemp-1.5.tar.gz file 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.
  5. Change to the /usr/src directory and extract the Mktemp source from the .tar.gz file.<
    • 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.
  6. Change to the /usr/src directory and extract the OpenOffice.org binaries from the .tar.gz file.<
    • 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.

Back to simple version

Configure and compile Mktemp

  1. Change to the /usr/src/mktemp-1.5 directory.
    • At the prompt enter:
      cd mktemp-1.5
    • The prompt will change to:
      [/usr/src/mktemp-1.5]#
  2. Run the configure script.
    • 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
  3. Run the make program.
    • 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
  4. Run the make program with the argument install.
    • 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

Back to simple version

Installing OpenOffice.org

  1. Change to the /usr/src/OOo_1.1.0_LinuxIntel_install directory.
    • 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]#
  2. Run the install script.
    • At the prompt enter:
      ./install
    • A few lines of information should appear on the screen.
    • The program finishes with the lines:
      Installation Completed
  3. 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.
  4. 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.
  5. At the system prompt enter soffice to 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"

Back to simple version

Starting Components

  1. 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/swriter
    Calc: soffice private:factory/scalc
    Impress: soffice private:factory/simpress
    Draw: soffice private:factory/sdraw
    Math: soffice private:factory/smath
    Web Editor: soffice private:factory/swriter/web
    Master Template: soffice private:factory/swriter/Global
  2. 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.

Give me more details on this

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


Valid CSS!     Valid HTML 4.0!     Valid RSS
Original design © For oswd.org by SquireCD