Ubuntu under OpenOffice Installation

Source: Internet
Author: User

OpenOffice Recommended installation steps: http://www.openoffice.org/download/index.html Prerequisites

If you want Java integration, you have to make sure that you have the latest JRE installed. Its JRE should be at least version 1.6. You can find JRE for Linux at the Java JRE for linux download site. In addition, the JRE may be included as part of your distribution's installation media as a complete Java development environment.

Installation steps
      1. View System Requirements
      2. Download Apache OpenOffice your favorite Linux version
      3. Review the useful information and installation options in the Setup Wizard.
      4. Unzip the downloaded image to prepare for installation.
        Use the following command:tar -xvzf “linux包的名字”.tar.gz
        The "Linux package name" should replace the first part of the tar.gz package that you just downloaded, that is, a string of characters other than tar.gz.

        This will create an installation directory.
        The name of the installation directory is likely to have an abbreviation for the language name, for example, en-us.
      5. su> to the root user, if necessary, browse to the Apache OpenOffice installation directory (the location of the unzipped archive).
        You may need to run the Deb command as root to install the software.
      6. cdTo the installation directory under the Debs subdirectory.
      7. Input sudo dpkg -i *.deb .
        By default, Apache OpenOffice will be installed/upgraded to the /opt directory.

        or without a command line, you can also use the GUI program to install the Deb package, reference the installation directory, install all the Deb packages at the top level. This can also help you monitor dependency problems, if any.
      8. Installing Desktop integration Features
        In the installation directory cd to desktop-integration ,
        According to the Package Manager/system, install the corresponding desktop interface with dpkg.
      9. Finally, launch Apache OpenOffice to make sure it works. (If there is a panel)

Issues that may occur in the installation:

Problem one: OpenOffice as a service-side transcoding tool, and the server does not have a desktop installed. A situation in which the OpenOffice process cannot be started

In Terminal input:

/usr/bin/soffice-accept=socket,host=localhost,port=8100;urp; Staroffice.servicemanager-norestore-nofirststartwizard-nologo-headless

The following error occurred:

No suitable windowing system found, exiting.

Workaround:

Need to install LIBXT6 and Libxrender1

Apt-get Install Libxt6apt-get Install Libxrender1

After the installation is successful, enter the command in the terminal to view

[[Email protected] win]$ PS aux|grep openoffice503      30904  0.0  1.3 860316 26436 pts/3    Sl   14:26   0:01/opt/openoffice4/program/soffice.bin-accept=socket,host=127.0.0.1,port=8100;urp; -env:userinstallation=file:///tmp/.jodconverter_socket_host-127.0.0.1_port-8100-headless-nocrashreport- nodefault-nofirststartwizard-nolockcheck-nologo-norestore502      31167  0.0  0.0 103256   844 pts/0    s+   15:16   0:00 grep OpenOffice

Successfully started OpenOffice thread

Question two: When using OpenOffice transcoding html, there is a Chinese garbled situation


The reason is that there are too few fonts in Ubuntu to recognize some of the fonts in the document. The workaround is to copy some fonts from Windows and put them in Ubuntu.

Windows Fonts Directory: C:\Windows\Fonts

Copy common fonts placed on Linux:/usr/share/fonts/win

Run in Terminal:

After rebooting the system, you can perfectly solve the problem of transcoding garbled.

Ubuntu under OpenOffice Installation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.