Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dcore:dcore_openoffice_guide [2016/11/09 17:20] nitramdcore:dcore_openoffice_guide [2016/11/10 05:59] (current) – [Configure] nitram
Line 3: Line 3:
 This guide manually installs [[http://www.openoffice.org/download/|Apache OpenOffice]] in dCore. It does not appear present in Debian/Ubuntu repositories or PPA. The installation is not as hard as it seems, fortunately the ''mksquashfs'' and ''sce-deb2sce'' commands perform the heavy lifting. This guide manually installs [[http://www.openoffice.org/download/|Apache OpenOffice]] in dCore. It does not appear present in Debian/Ubuntu repositories or PPA. The installation is not as hard as it seems, fortunately the ''mksquashfs'' and ''sce-deb2sce'' commands perform the heavy lifting.
  
-Note the download, extraction and SCE creation process will temporarily require up to ~1GB of space. After cleanup, however, the resulting //openoffice.sce// is only 167MB. Only use /tmp/ as a temporary working directory, therefore, if adequate system RAM is available, otherwise temporarily use a mounted data partition or even the TCE directory, being careful not to accidently modify or delete any important dCore system files. After successful OpenOffice installation all downloaded and temporary working files can safely be deleted.+The download, extraction and SCE creation process will temporarily require up to ~1GB of space. After cleanup, however, the resulting //openoffice.sce// is only 167MB. Only use /tmp/ as a temporary working directory, therefore, if adequate system RAM is available. Otherwise temporarily use a mounted data partitioneven the TCE directory, being careful not to accidently modify or delete any important dCore system files. After successful OpenOffice installation all downloaded and temporary working files can safely be deleted.
  
-There is no easy update process. If a newer version becomes available and an update is desired, download the newer version and repeat these installation steps.+There is no easy update process. If a newer version becomes available and an update is desired, backup or remove the outdated //openoffice.sce//, download the newer version and repeat these installation steps
 + 
 +Although not tested, it may not be wise to load both OpenOffice and LibreOffice simultaneously.
  
 ==== Download ==== ==== Download ====
  
-Appache OpenOffice download site:+Apache OpenOffice download site:
 <code> <code>
 http://www.openoffice.org/download/ http://www.openoffice.org/download/
 </code> </code>
  
-Download Linux 32-bit (x86) 146MB v4.1.3 DEB file to /tmp or data partition:+Download the Apache OpenOffice Linux 32-bit (x86) 146MB v4.1.3 DEB (not RPM) file to /tmpor data partition:
   Apache_OpenOffice_4.1.3_Linux_x86_install-deb_en-US.tar.gz   Apache_OpenOffice_4.1.3_Linux_x86_install-deb_en-US.tar.gz
  
Line 20: Line 22:
  
 ==== Install ==== ==== Install ====
 +Run the following commands from a terminal, tab-autocomplete is your friend.
  
 Extract downloaded archive: Extract downloaded archive:
Line 37: Line 40:
  
 Loop convert all 41 .deb files into individual SCEs (takes a while): Loop convert all 41 .deb files into individual SCEs (takes a while):
-  for f in *; do sce-deb2sce $f;  done+  for f in *; do sce-deb2sce $f; done
  
 Remove all *.sce.md5.txt files: Remove all *.sce.md5.txt files:
Line 52: Line 55:
  
 Copy openoffice.sce and openoffice.sce.md5.txt to the SCE directory: Copy openoffice.sce and openoffice.sce.md5.txt to the SCE directory:
-  cp openoffice.sce openoffice.sce.md5.txt /etc/sysconfig/tcedir/sce+  cp openoffice.sce openoffice.sce.md5.txt /etc/sysconfig/tcedir/sce
 + 
 +Add OpenOffice to OnDemand (or sceboot.lst as desired): 
 +  sce-ondemand openoffice
  
 ==== Test ==== ==== Test ====
Line 67: Line 73:
   soffice   soffice
  
-Welcome to OpenOffice wizard, blank username info okay, just select 'next' +Welcome to OpenOffice wizard opens. Blank user info is okay, just select 'next' and 'finish', OpenOffice 4 should launch.
-and 'finsih', then OpenOffice 4 should launch.+
  
 Success! Success!
  
-=== Configure ====+==== Configure ==== 
 +A large ~50MB ~/.openoffice configuration directory gets created, which is not acceptable for dCore systems that do no have a persistent /home directory (extremely large backup).
  
-Note a large ~50MB ~/.openoffice configuration directory gets created, which is +There is an ~24MB temporary /home/tc/.openoffice/4/user/extensions/tmp/ directory that can safely be emptied.
-not acceptable for dCore systems that do no have a persistent /home directory.+
  
-There is an ~24MB temporary /home/tc/.openoffice/4/user/extensions/tmp/ +The other is a large ~24MB /home/tc/.openoffice/4/user/uno_packages/ directory, which contains the spellcheck dictionary and should not be deleted.
-directory that can safely be emptied.+
  
-The other is a large ~24MB /home/tc/.openoffice/4/user/uno_packages/ directory. +Users wishing to keep /home/tc/ small for backup should move the entire /home/tc/.openofficeconfiguration directory to a mounted partition. In this example the TCE directory is utilized as it is always mounted at boot, although any mounted data partition should work. Be careful not to alter any important dCore system files. Example move and symlink:
-The directory contains the spellcheck dictionary and should not be deleted. +
- +
-Users wishing to keep /home/tc/ small for backup should move the entire +
-/home/tc/.openoffice configuration directory to a mounted partition. In this +
-example the TCE directory is utilized as it is always mounted at boot, although +
-any mounted data partition should work. Example move and symlink:+
   cd /home/tc/   cd /home/tc/
   mv /home/tc/.openoffice/ /etc/sysconfig/tcedir/   mv /home/tc/.openoffice/ /etc/sysconfig/tcedir/
   ln -s /etc/sysconfig/tcedir/.openoffice .openoffice   ln -s /etc/sysconfig/tcedir/.openoffice .openoffice
 +
 +OpenOffice loads numerous files into the /opt/ directory when loaded, which is included by default when backing up dCore. These files should be excluded from backup by adding the /opt/openoffice4/ directory to /opt/.xfiletool.lst:
 +  echo "opt/openoffice4" >> /opt/.xfiletool.lst
  
 ==== Backup ==== ==== Backup ====
-Finally run a backup to change the configuration change+Finally run a backup to save configuration changes
-backup+  backup
  
 ==== Miscellaneous ==== ==== Miscellaneous ====
-Minor issue, terminal output running ''soffice'' will indicate 'Could not find +Terminal output running ''soffice'' will indicate 'Could not find a Java Runtime Environment'Although not required for most tasks, if Java is important for the user try installing [[http://wiki.tinycorelinux.net/dcore:desktop_applications?&#java_runtime_environment|Java Runtime Environment]]. 
-a Java Runtime Environment'If desired JRE can be set up separately <link>.+
Print/export
QR Code
QR Code dcore:dcore_openoffice_guide (generated for current page)