Difference between revisions of "Documentation/FAQ/Installation"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Bring back the Google CSE box)
(37 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{Documentation/FAQTOC|ShowPrevNext=none}}
 
{{Documentation/FAQTOC|ShowPrevNext=none}}
 
{{DISPLAYTITLE:Installation FAQ}}
 
{{DISPLAYTITLE:Installation FAQ}}
 +
Search the FAQs: <googlefaq/>
 +
This list is ordered by popularity. The most popular FAQs are at the top. But also have a look at the bottom to find any new entries.
  
 
<DPL>
 
<DPL>
 
   category=Documentation/FAQ/Installation
 
   category=Documentation/FAQ/Installation
 +
  ordermethod=counter
 +
  order=descending
 
   replaceintitle=/Documentation.*\//,
 
   replaceintitle=/Documentation.*\//,
 
   secseparators=<br>
 
   secseparators=<br>
Line 9: Line 13:
  
  
<table border=0><tr><td>
+
<table border=1 cellpadding=5 style="width:100%; border-collapse: collapse; border-color:#AAA; background-color:#EEE;"><tr>
 +
<td>
 +
===Add a new FAQ entry===
 
<inputbox>
 
<inputbox>
 +
bgcolor=#EEE
 
type=create
 
type=create
default=Documentation/FAQ/Installation/<INSERT FAQ TITLE HERE>
+
default=Documentation/FAQ/Installation/<FAQ_TITLE>
 
preload=Documentation/FAQ_Template
 
preload=Documentation/FAQ_Template
 
buttonlabel=Add new FAQ
 
buttonlabel=Add new FAQ
 
break=no
 
break=no
 
</inputbox>
 
</inputbox>
 +
'''Instructions'''
 +
* Do '''not ask questions''' here, but '''give answers'''.
 +
* If you have a '''question to ask''', go to the [http://user.services.openoffice.org User Forum].
 +
* Replace ''<FAQ_TITLE>'' part in the input box above by the title you would like to give the FAQ item and click '''Add New FAQ'''
 
</td></tr></table>
 
</td></tr></table>
 
 
== I've installed OpenOffice.org, now what do I do? ==
 
 
Simply start the OpenOffice.org application. After the installation, an entry for OpenOffice.org is listed in the Programs menu. After OpenOffice.org has started, an icon will be available on the system tray. (It looks like flying seagulls on a blue and white background.) Click on the icon with the right mouse button to quickly start the various different components of the office suite. This quick-launcher will automatically start when you log in.
 
 
== Is it possible to install OpenOffice.org without the user having to input data? ==
 
 
Yes. The [http://docs.sun.com/app/docs/doc/816-7523?q=staroffice StarOffice 6.0 Software Responsefile Installation Guide] explains how to do an unattended installation.
 
 
== How can I install OpenOffice.org so that it can be used by multiple users on the same machine? ==
 
 
=== OpenOffice.org version 1 (old) ===
 
Use the multiuser installation mechanism: As administrator call the setup program with the -net parameter. For example, when the setup command is used, type: ./setup -net (Linux) or setup.exe -net (Windows). Then when each user runs the application for the first time, they will be asked for setup information specific to their own account. Only per user configuration files will be kept in a directory specific to each user.
 
 
=== OpenOffice.org version 2 (current) ===
 
 
No special action is required.  By default, OpenOffice.org 2 installs for use by all users on the machine.
 
 
== How can I install OpenOffice.org without administrative privileges or without system integration? ==
 
 
If you do not have administrator privileges or if you do not wish any system integration (which means file associations and menu shortcuts), see [http://openofficeorgfoo.blogspot.com/2008/01/alternative-installation-on-windows.html Alternative Installation of OpenOffice.org for Windows].
 
 
== How do I perform a silent install? ==
 
 
In corporate environments, when rolling out OpenOffice.org to many machines, the easiest way to do it is via a silent install. In a Windows environment, the following guide seems to be useful:
 
 
=== OpenOffice.org version 1 (old) ===
 
 
# Let Windows install the package from a network drive by N:\OpenOffice\program\setup.exe -r:N:\OpenOffice\response.txt<BR>where N:\ can be whatever it is the network drive has been mapped to, and it contains the install files of OpenOffice.org created by running setup.exe with the /net option.
 
# The response.txt file can contain:
 
<pre>
 
      [Environment]
 
      InstallationMode=INSTALL_NORMAL
 
      InstallationType=STANDARD
 
      DestinationPath=C:\Program Files\OpenOffice
 
      StartProcedure=MyStartProc
 
      Migration=Yes
 
 
      [Java]
 
      JavaSupport=preinstalled_or_none
 
 
      [Procedures]
 
      Sub MyStartProc       
 
      SetUserCompanyName("None")
 
              HideSetupEnd Sub
 
 
      [Windows_Desktop_Integration]
 
      Register4MSWord=True
 
      Register4MSExcel=True
 
      Register4MSPowerPoint=True
 
      RegisterAsDefaultHTMLEditor=True 
 
</pre>
 
Apparently, Sun for its [[StarOffice]] package provides some fairly good documentation in PDF files with regards to silent installs. Another good resource is the section within the user installation documentation entitled Windows in a Multiple User Environment.
 
 
=== OpenOffice.org version 2 (current) ===
 
 
See [[Documentation/How_Tos/Automatic_Installation_on_Windows]].
 
 
== How does OpenOffice.org work over NFS? ==
 
 
To get OpenOffice.org to export over NFS and perform the install, the server needs to have the link_relative option during NFS export. Without it, the links that the setup program creates are all absolute, which breaks the setup program when it crosses file systems.
 
 
== How do I setup SAMBA to get the best performance with OOo? ==
 
 
(Here is what Xavier Poirier did to improve performance of OOo clients running from a SAMBA share):
 
 
We have an installation of OOo1.1 on a network with a SAMBA share (for the clients) - a 10M network, so not the fastest.
 
 
For SAMBA I have found this (thanks to O'REILLY Online Catalog): [http://www.oreilly.com/catalog/samba/chapter/book/appb_02.html (Appendix B) B.2 Samba Tuning].
 
 
Tuning options used:
 
 
* We have a share with READONLY mode (which is 5-10% faster for OOo).
 
* Put OPLOCKS "ON": this permits the client to "cache" the files.
 
* Put LOGLEVEL to "1" instead of "0" by defaut.
 
* Put BLOCSIZE to 2048 instead of 1024.
 
 
Later I will try others, (like IPTOS_LOWDELAY) if anyone tries it, I'm interested ...
 
 
The clients: for better performance, it seems that they must run the quickstarter of OOo: soffice.exe -quickstart.
 
 
The result is GOOD! The clients are much faster for opening OOo! We won about 30-40% performance I think with these parameters.
 
 
== When trying to install OpenOffice.org I get a message about a missing library. How can I solve this? ==
 
 
This message generally means that you have a file which got corrupted during download. To verify this you can use the md5sum utility as described on the download page. This tool generates a checksum that you can cross check with the value on the download server.
 
 
== How do I uninstall OpenOffice.org? ==
 
 
=== OpenOffice.org version 1 (old) ===
 
 
On Windows, you can use the Add/Remove Programs option in the Control Panel. On Linux, you can use ./setup and choose the Remove option.
 
 
=== OpenOffice.org version 2 (current)  ===
 
 
On Windows, you can use the Add/Remove Programs option in the Control Panel. If you installed OpenOffice.org through another method (an RPM, or a Debian package), using the appropriate package removal tool is best.
 
 
== Why does the OOo install ask for Unicows.dll? ==
 
 
The Unicows.dll file is a library needed for Windows95, Windows98, and Windows ME operating systems to work with international characters. It was needed for a time with early versions of OpenOffice 1.1 development series (1.1beta1, 1.1beta2, 1.1rc1 and 1.1rc2 ). It is included in the download for OpenOffice 1.1 and later versions. You do not need this DLL file if you have Windows NT or Windows XP.
 
 
== Can I install OpenOffice.org on a Terminal Server? ==
 
 
Yes, use the install.exe -net command to do the initial server install.
 
 
Then use the installed OpenOffice.org setup.exe program to set up Workstation installations for each individual user. This can be a long process. It is possible to create a response file so that the installation is done automatically through a logon profile next time your users log into the system.
 
 
For more information:
 
 
* [[FAQ:Installation#How_do_I_perform_a_silent_install.3F|How do I perform a silent install?]]
 
 
== The installer is looking for Java. Does it really need it to work correctly? ==
 
 
[[Java]] is not needed for OpenOffice.org to work correctly. However there will be some features which will not be available without it. For example, with 1.1 you will not be able to use the XSLT functionality, JDBC, applets, form generators, and Java Application Programming Interfaces (APIs) for 3rd party modules, if no Java is installed.
 
 
For more information:
 
 
* [[FAQ:Installation#Why_is_Java_needed_in_OpenOffice.org.3F|Why is Java needed in OpenOffice.org?]]
 
 
== The installer is looking for Java. Where do I find it? ==
 
 
You can download Java from http://www.java.com or http://java.sun.com.
 
 
== Which version of Java do I need? ==
 
 
The release notes should be able to tell you that information.
 
 
== Java is installed, but why isn't it recognized? ==
 
 
Are you sure that you have the right version of Java installed? Please check the release notes for the version of OpenOffice.org you have installed.
 
 
When you have verified that you do have the right version of Java on your system, and it is still not recognized, you can manually insert the path in the relevant Java dialog during OOo installation. 
 
 
After installation of OpenOffice.org, if Java is still not recognized, click Tools > Options > OpenOffice.org > Java.  The OpenOffice.org Java window will open.  In the box under "Java is already installed", highlight  the version of Java installed.  Click Add. Java will now be recognized by OpenOffice.org.  You may have to repeat this step when you update Java Runtime Environment.
 
 
== Can I install Java after I install OpenOffice.org? ==
 
 
Yes, you can run the program jvmsetup which can be found in the program folder of your OpenOffice.org installation.
 
 
== How do I fix the internal error, Get Storage: No Content? ==
 
 
OpenOffice.org fails to start, and the following error message appears:
 
 
OpenOffice can not be started due to an error in accessing the OpenOffice.org configuration data.
 
Please contact your system administrator.
 
The following internal error has occurred: Get Storage: "No Content".
 
 
The message often occurs because a file named Common.xcu becomes corrupted. In most cases, this file becomes filled with 0s. The problem seems to occur most often in Windows, possibly as a result of a crash or an improper exit while OpenOffice.org was open.
 
Windows systems:
 
 
It is easiest to use the Find function (sometimes called Search) in the Windows Explorer to locate this file in Windows.
 
 
Multi-user installations:
 
 
Where OpenOffice.org is installed as multi-user under Windows NT/W2k/XP, this file is likely to be in a special system user directory. Therefore, one must have administrator rights and enable the option to view system directories in Explorer before using the Find function. This particular file should be found in the following path:
 
 
C:\Documents and Settings\<user>\Application Data\OpenOffice.org\<user>\registry\data\org\openoffice\Office\Common.xcu
 
 
where user is an actual user name.
 
 
Once the file is located, simply rename the file (for example, to something like Common.xcu.old) and restart OpenOffice.org. A new Common.xcu file is created, and the problem should disappear.
 
 
Single-user installations:
 
 
Where OpenOffice.org is installed for a single user, this file is likely to be in the following path:
 
 
C:\Program Files\OpenOffice.org\<user>\registry\data\org\openoffice\Office\Common.xcu.
 
 
If the OS is NT/W2k/XP, this file may be in a special system user directory, so use administrator rights and enable the option to view system directories in Explorer before using the Find function. In Windows 95/98/ME, the location will likely be in the suggested path. Again, once the file is located, simply rename the file (for example, to something like Common.xcu.old) and restart OpenOffice.org. A new Common.xcu file will be created and the problem should disappear.
 
 
Note: There may be shared files called Common.xcu under paths, such as the following:
 
 
C:\[some path]\OpenOffice.org\share\registry\......
 
 
Do NOT delete these shared files!
 
UNIX systems:
 
 
The default location for this file under a UNIX installation (single or multi-user) is the following path:
 
 
$HOME/OpenOffice.org<release>/<user>/registry/data/org/openoffice/Office/Common.xcu
 
 
where $HOME is the user's home directory. As above, simply rename the file (for example, to something like Common.xcu.old) and restart OpenOffice.org. A new Common.xcu file will be created and the problem should disappear.
 
 
Where <release> is the release number of the OpenOffice.org you have installed and <user> is the user namme of the particular user installation.
 
 
== How to convert files created with SRC680 snapshot builds, prior to m64, to the 2.0beta and later format? ==
 
 
Documents saved with SRC680 builds, prior to m64, cannot be opened by 2.0Beta or later. This especially applies to Writer documents. To be able to open them, files need to be coverted. Convert each file using the following procedure:
 
 
#Create a backup of the document.
 
#Rename the document to a file with the same name but an extensions that has the 2nd "o" replaced with a "d". For instance, test.oot becomes test.odt. For drawing documents, use the extension "odg". For templates,only the extension of drawing templates has to be changed to "otg".
 
#Unzip the sub documents "mimetype" and "META-INF/manifest.xml" from the document using an arbitrary zip tool.
 
#Within the unzipped "mimetype" and "META-INF/manifest.xml" files, replace all occurencies of "x-vnd.oasis.openoffice" with "vnd.oasis.opendocument".
 
#Add the "mimetype" file uncompressed to the document.
 
#Add "META-INF/manifest.xml" to the document.
 
#Load the document into OpenOffice.org and resave it.
 
<pre>
 
For example, you have a file called 'test.oot' on Unix/Solaris. Use the following commands to convert the file:
 
$ cp test.oot test.odt
 
$ unzip test.odt mimetype META-INF/manifest.xml
 
$ mv mimetype mimetype.bak
 
$ sed -e"s/x-vnd\.oasis\.openoffice/vnd.oasis.opendocument/" mimetype.bak >mimetype
 
$ zip -0 test.odt mimetype
 
$ mv META-INF/manifest.xml META-INF/manifest.xml.bak
 
$ sed -e"s/x-vnd\.oasis\.openoffice/vnd.oasis.opendocument/" META-INF/manifest.xml.bak >META-INF/manifest.xml
 
$ zip test.odt META-INF/manifest.xml
 
$ [start OpenOffice.org, load file and save it again]
 
</pre>
 
See also: 1.9 m65 Snapshot Release Notes
 
 
== How to fix FC3 error error while loading shared libraries: /<path_to_openoffice.org_install_directory>/program/libicudata.so.26: cannot restore segment prot after reloc: Permission denied? ==
 
 
#cd into /etc/selinux/targeted/contexts/files
 
#Create a backup of file_contexts. NOTE: do not overwrite file_contexts.rpmnew
 
#Download the patch and only use it as a model as SELinux under FC3 is being updated too frequently for the patch to be used as is. The contents are correct for installs in /opt and /usr/local. NOTE: you may have to edit file_contexts if OOo is not installed in either /opt or /usr/local.
 
#Execute setfiles -l -vv -F file_contexts /usr/local/OpenOffice.org*/program/ for /usr/local/ installations.
 
#Execute setfiles -l -vv -F file_contexts /opt for OOo installations.
 
#Reboot if necessary.
 
#If all else fails, disable SELinux and reboot.
 
 
== Why is Java needed in OpenOffice.org? ==
 
 
Java is necessary for use of the following in OpenOffice.org:
 
 
* JDBC drivers
 
* Using the XSLT, flat XML filters
 
* Using Java applets in OpenOffice.org
 
* Using Java-based languages in the scripting framework
 
* Java Application Interface (API) programs for 3rdparty modules
 
* Autopilot/wizard form generators
 
* All accessibility functions
 
* The OpenOffice.org testtool and QaTestDev programs
 
 
See also:  [[FAQ:Installation#What_is_Java_needed_for_in_OpenOffice.org.3F|The installer is looking for Java. Does it really need it to work correctly?]]
 
 
 
==How can I add fonts to OpenOffice?==
 
Exit OpenOffice and then run the spadmin program (located in your OpenOffice.org directory) and click on the “Fonts” button.
 
The above information may work on some operating systems but it does not work on MacOS X Tiger PPC.
 
 
==How do I improve the fonts (they look ugly)?==
 
The [http://www.openoffice.org/FAQs/fontguide.html font trouble shooting guide] should be able to help you.
 
 
 
==Why am I seeing squares instead of the desired language characters?==
 
Whenever squares are shown instead of the desired characters, it is a sign that a required font is not been used. The right font may not be installed in the system or the wrong font, which does not contain the required characters, is assigned to the text.
 
 
To solve the problem, first ensure that the required font is installed in the system. Second, set the locale and fonts in Tools-Options-Language Settings-Language and Tools-Options-OpenOffice.org Writer [Drawing, Impress, etc]-Basic Fonts (Western, Asian).
 
 
==Can I change the measurement units from centimeters to inches?==
 
Yes, but it is slightly different between the components :
 
 
* For Writer: "Tools" => "Options" and then "Text Document" => "General" => "Settings"
 
* For Calc: "Tools" => "Options" and then "Spreadsheet" => "General" => "Metrics"
 
* For Impress: "Tools" => "Options" and then "Presentation" => "General" => "Settings"
 
 
You can also change the settings by clicking the right mouse button on the ruler at the top of the page.
 
  
 
[[Category: Documentation/FAQ]]
 
[[Category: Documentation/FAQ]]
 +
[[Category:Documentation/Setup]]
 +
[[Category:User FAQ]]

Revision as of 16:54, 23 February 2014

doc OOo



Search the FAQs:

This list is ordered by popularity. The most popular FAQs are at the top. But also have a look at the bottom to find any new entries.


Add a new FAQ entry

Instructions

  • Do not ask questions here, but give answers.
  • If you have a question to ask, go to the User Forum.
  • Replace <FAQ_TITLE> part in the input box above by the title you would like to give the FAQ item and click Add New FAQ
Personal tools