Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dcore:dcore_openoffice_guide [2016/11/09 14:45] – [Miscellaneous] nitram | dcore:dcore_openoffice_guide [2022/09/21 17:10] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== dCore OpenOffice Guide ===== | ||
+ | ==== Overview ==== | ||
+ | This guide manually installs [[http:// | ||
+ | |||
+ | The download, extraction and SCE creation process will temporarily require up to ~1GB of space. After cleanup, however, the resulting // | ||
+ | |||
+ | There is no easy update process. If a newer version becomes available and an update is desired, backup or remove the outdated // | ||
+ | |||
+ | Although not tested, it may not be wise to load both OpenOffice and LibreOffice simultaneously. | ||
+ | |||
+ | ==== Download ==== | ||
+ | |||
+ | Apache OpenOffice download site: | ||
+ | < | ||
+ | http:// | ||
+ | </ | ||
+ | |||
+ | Download the Apache OpenOffice Linux 32-bit (x86) 146MB v4.1.3 DEB (not RPM) file to /tmp/ or a data partition: | ||
+ | Apache_OpenOffice_4.1.3_Linux_x86_install-deb_en-US.tar.gz | ||
+ | |||
+ | Note older releases are also available if desired. | ||
+ | |||
+ | ==== Install ==== | ||
+ | Run the following commands from a terminal, tab-autocomplete is your friend. | ||
+ | |||
+ | Extract downloaded archive: | ||
+ | tar xvf Apache_OpenOffice_4.1.3_Linux_x86_install-deb_en-US.tar.gz | ||
+ | |||
+ | Change to extracted (en-US) sub-directory: | ||
+ | cd en-US/DEBS/ | ||
+ | |||
+ | Remove desktop-integration directory: | ||
+ | rm -rf desktop-integration | ||
+ | |||
+ | Now left with 41 separate .deb files. | ||
+ | |||
+ | Retrieve and load sce-deb2sce (helper command to process the .deb files): | ||
+ | sce-import -o sce-deb2sce | ||
+ | sce-load sce-deb2sce | ||
+ | |||
+ | Loop convert all 41 .deb files into individual SCEs (takes a while): | ||
+ | for f in *; do sce-deb2sce $f; done | ||
+ | |||
+ | Remove all *.sce.md5.txt files: | ||
+ | rm -f *.sce.md5.txt | ||
+ | |||
+ | Force unsquash all separate SCEs into a single squashfs-root working directory: | ||
+ | for f in *.sce; do unsquashfs -f $f; done | ||
+ | |||
+ | Create the OpenOffice SCE: | ||
+ | mksquashfs squashfs-root openoffice.sce | ||
+ | |||
+ | Create the openoffice.sce.md5.txt file: | ||
+ | md5sum openoffice.sce > openoffice.sce.md5.txt | ||
+ | |||
+ | Copy openoffice.sce and openoffice.sce.md5.txt to the SCE directory: | ||
+ | cp openoffice.sce openoffice.sce.md5.txt / | ||
+ | |||
+ | Add OpenOffice to OnDemand (or sceboot.lst as desired): | ||
+ | sce-ondemand openoffice | ||
+ | |||
+ | ==== Test ==== | ||
+ | Load openoffice.sce: | ||
+ | sce-load openoffice | ||
+ | |||
+ | Create an OpenOffice executable symlink: | ||
+ | ln -s / | ||
+ | |||
+ | Note additional symlinks can be created, review available executables in | ||
+ | / | ||
+ | |||
+ | Test OpenOffice, run: | ||
+ | soffice | ||
+ | |||
+ | Welcome to OpenOffice wizard opens. Blank user info is okay, just select ' | ||
+ | |||
+ | Success! | ||
+ | |||
+ | ==== Configure ==== | ||
+ | A large ~50MB ~/ | ||
+ | |||
+ | There is an ~24MB temporary / | ||
+ | |||
+ | The other is a large ~24MB / | ||
+ | |||
+ | Users wishing to keep /home/tc/ small for backup should move the entire / | ||
+ | cd /home/tc/ | ||
+ | mv / | ||
+ | ln -s / | ||
+ | |||
+ | 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 / | ||
+ | echo " | ||
+ | |||
+ | ==== Backup ==== | ||
+ | Finally run a backup to save configuration changes: | ||
+ | backup | ||
+ | |||
+ | ==== Miscellaneous ==== | ||
+ | Terminal output running '' | ||