Difference between revisions of "Documentation/FAQ/Installation/How do I install Apache OpenOffice on Linux?"

From Apache OpenOffice Wiki
Jump to: navigation, search
(replaced old and incomplete instruction)
Line 2: Line 2:
  
 
<section begin=question />
 
<section begin=question />
'''How do I install OpenOffice.org on Linux?'''
+
'''How do I install OpenOffice.org 3 on Linux?'''
 
<section end=question />
 
<section end=question />
  
 
<section begin=answer />
 
<section begin=answer />
 +
There are several methods to install OOo 3 on Linux.
  
<!-- the main text was not tested or updated lately -->
+
1. First untar (unzip) the downloaded file. Replace the filename in the command with the file you have downloaded.
 +
  tar -xvf OOo_3.0.0_LinuxIntel_install_en-US.tar.gz
 +
2. Change to the new folder.
  
If you have installed '''Linux''' tarball (tar.gz format) you should sudo or change into root user and move it to /opt/ folder.
+
If you are the only user on the system, you can choose to start the supplied setup script and follow the graphical dialogs. This installs all files to your home folder, and you are the only user who can use the OOo suite.
* Untar the package by typing:
+
  
  tar -xzvf OOo-2.3.1-LinuxIntel-20080124.tar.gz
+
If you want to install the suite to a central location, where the suite can be used for many users of the system (this is the preferred method), you have two choices:
  
* cd into the folder created and execute the setup script:
+
*install as admin, using the graphical setup script, or
 +
*install as admin, using the native Linux rpm installation method
  
  cd openoffice.org-2.4/
+
'''To install using the graphical setup script:'''
  bash setup.sh
+
 +
1. Open a shell or terminal window.
  
These instructions are for RPM based linux distros. For additional instructions please ask on the user list at users@openoffice.org.
+
2. Become superuser by typing su -
  
<section end=answer />
+
3. Grant permission to open a graphical display for root, using the authority from your user account.
 +
  XAUTHORITY=/home/{username}/.Xauthority; export XAUTHORITY
 +
  DISPLAY=:0.0; export DISPLAY
 +
4. Change to the directory that contains the OOo 3 installation program.
  
 +
5. Start the setup script.
 +
  ./setup
 +
6. Follow the instructions.
  
 +
'''To install using the rpm method:'''
 +
 +
1. Install all rpm files together:
 +
  cd RPMS
 +
  su
 +
  rpm -i *.rpm
 +
2. Change to the desktop_integration subfolder and install the UI integration for your system 
 +
  cd desktop-integration
 +
  rpm -i {menu_filename}
 +
 +
For Debian based system like Ubuntu, you can either download the installation files in .deb format, or you can use an rpm to deb converter. Then use the built-in deb mechanism for installation.
 +
 +
<section end=answer />
  
 
[[Category:Documentation/FAQ/Installation|1 Installation]]
 
[[Category:Documentation/FAQ/Installation|1 Installation]]

Revision as of 10:52, 20 October 2008


How do I install OpenOffice.org 3 on Linux?


There are several methods to install OOo 3 on Linux.

1. First untar (unzip) the downloaded file. Replace the filename in the command with the file you have downloaded.

  tar -xvf OOo_3.0.0_LinuxIntel_install_en-US.tar.gz 

2. Change to the new folder.

If you are the only user on the system, you can choose to start the supplied setup script and follow the graphical dialogs. This installs all files to your home folder, and you are the only user who can use the OOo suite.

If you want to install the suite to a central location, where the suite can be used for many users of the system (this is the preferred method), you have two choices:

  • install as admin, using the graphical setup script, or
  • install as admin, using the native Linux rpm installation method

To install using the graphical setup script:

1. Open a shell or terminal window.

2. Become superuser by typing su -

3. Grant permission to open a graphical display for root, using the authority from your user account.

  XAUTHORITY=/home/{username}/.Xauthority; export XAUTHORITY
  DISPLAY=:0.0; export DISPLAY

4. Change to the directory that contains the OOo 3 installation program.

5. Start the setup script.

  ./setup

6. Follow the instructions.

To install using the rpm method:

1. Install all rpm files together:

  cd RPMS 
  su 
  rpm -i *.rpm 

2. Change to the desktop_integration subfolder and install the UI integration for your system

  cd desktop-integration 
  rpm -i {menu_filename}

For Debian based system like Ubuntu, you can either download the installation files in .deb format, or you can use an rpm to deb converter. Then use the built-in deb mechanism for installation.


Personal tools