Difference between revisions of "EN/documentation/administration guide/linux"

From Wiki
Jump to navigationJump to search
m (1 revision)
 
Line 1: Line 1:
 +
<section begin=title /><noinclude>{{DISPLAYTITLE:</noinclude>Linux x86<noinclude>}}</noinclude><section end=title />
 +
 
{{Documentation/AdminGuideTOC/v2
 
{{Documentation/AdminGuideTOC/v2
 
|OS_type=block
 
|OS_type=block
 
|ShowPrevNext=block
 
|ShowPrevNext=block
 
|ShowPrevPage=block
 
|ShowPrevPage=block
|PrevPage=Documentation/Administration Guide/Solaris
+
|PrevPage=EN/documentation/administration_guide/solaris
|NextPage=Documentation/Administration Guide/Windows
+
|NextPage=EN/documentation/administration_guide/windows
 
}}  
 
}}  
{{DISPLAYTITLE:Linux x86}}
+
 
 
__NOTOC__  
 
__NOTOC__  
 +
 
== RPM Based Linux distributions ==
 
== RPM Based Linux distributions ==
  
 
The RPM package manager is a powerful tool you can use to deploy software packages both locally and throughout a network.   
 
The RPM package manager is a powerful tool you can use to deploy software packages both locally and throughout a network.   
  
{{Documentation/Note|These instructions assume you have downloaded and extracted the {{OOo}} installation files.}}
+
{{Note|These instructions assume you have downloaded and extracted the {{OOo}} installation files.}}
  
 
=== Install ===
 
=== Install ===

Revision as of 15:22, 30 March 2012




RPM Based Linux distributions

The RPM package manager is a powerful tool you can use to deploy software packages both locally and throughout a network.

Documentation note.png These instructions assume you have downloaded and extracted the OpenOffice.org installation files.

Install

  1. Become root if necessary
    su -
  2. Change directory to:
    <OpenOffice.org_unzip-dir>/RPMS
  3. The RPMS directory contains RPM packages for OpenOffice.org as well as Gnome and KDE integration.
    • For users with KDE, you can remove the Gnome integration RPM:
    rm openoffice.org-gnome-integration-<version>.rpm
    • For users with Gnome, you can remove the KDE integration RPM:
    rm openoffice.org-kde-integration-<version>.rpm
  4. Install into the standard /opt directory
    rpm -ivh *.rpm
    Documentation note.png If you prefer to install OpenOffice.org in a different location, use the -prefix option.
     rpm -ivh –prefix <install-dir> *.rpm
    
  5. To install the OpenOffice.org in the menus:
    cd desktop-integration

    Find the RPM for your specific Linux distribution and install it:

    rpm -ivh openoffice.org-<distribution>-menus_<version>.rpm

You can safely delete the OpenOffice.org installation packages after the install is complete.

Uninstall

Do not delete the OpenOffice.org files from the file system. You must use either the OpenOffice.org Java setup or the RPM package manager to uninstall OpenOffice.org.

  1. Become root if necessary
    su -
  2. Create a file 'ooo_packages' with all OpenOffice.org related RPM packages
    rpm -qa | grep openoffice > ooo_packages
  3. Check the content of this file carefully. All packages in this list will be removed. This list does not include the JRE package that was installed if you used the OpenOffice.org installstion set that includes JRE.
  4. To remove all OpenOffice.org related packages:
    rpm -e 'cat ooo_packages'

DEB Based Linux Distributions

The APT or DPKG package manager is a powerful tool you can use to install, update and remove DEB packages, and is provided as part of some Linux distributions such as Debian and Ubuntu.

Documentation note.png If you have the RPM package and do not want to download the DEB package, you can convert the RPM files to DEB files using the following command:
   sudo alien -d --scripts *.rpm 
Documentation note.png There are installation scripts written that may be useful for experienced users. For more information see the following:

http://installation.openoffice.org/source/browse/installation/setup_native/scripts/

Install

  1. Become root if necessary
    su -
  2. Change directory to:
    <OpenOffice.org_unzip-dir>/DEBS
  3. The DEBS directory contains DEB packages for OpenOffice.org as well as Gnome and KDE integration.
    • For users with KDE, you can remove the Gnome integration DEB:
    rm openoffice.org-gnome-integration-<version>.deb
    • For users with Gnome, you can remove the KDE integration DEB:
    rm openoffice.org-kde-integration-<version>.deb
  4. Install into the standard /opt directory
    dpkg -i *.deb
    Documentation note.png If you prefer to install OpenOffice.org in a different location, use the --instdir=<directory> option.
    dpkg -i --installdir=<install-dir> *.deb
  5. To install the OpenOffice.org in the menus:
    cd desktop-integration
    dpkg -i openoffice.org-debian-menus_<version>.deb

You can safely delete the OpenOffice.org installation packages after the install is complete.

Uninstall

Do not delete the OpenOffice.org files from the file system. You must use either the OpenOffice.org Java setup or the DEB package manager to uninstall OpenOffice.org.

  1. Become root if necessary
    su -
  2. To remove all OpenOffice.org related packages:
    apt-get remove openoffice.org*


Content on this page is licensed under the Public Documentation License (PDL).