Print version - [Seite auf Deutsch]

Prev
Xorg, Gnome, Fluxbox, gparted and more
Go to the
  Table of Contents  
Next
x64 (64bit) version

Plop Linux - Example: add Office and create a custom opt.sqfs


You can add LibreOffice and / or OpenOffice to opt.sqfs. Use the addoffice.sh script.

Parameters

First parameter:
  the office install-rpm-tar.gz file

second parameter (required for LibreOffice, recommended for OpenOffice):
  the JRE install bin file


To create the new opt.sqfs you need

  • A linux file system (ext2/3/4). FAT or NTFS does not work!

  • About 4.5G free space to extract and compress the files temporary. The final opt.sqfs will be about 200MB bigger than the original opt.sqfs.

  • The Plop Linux opt.sqfs with X

  • For LibreOffice:
    1. The install rpm tar gz file from the LibreOffice download page. Example name: LibO_3.4.2_Linux_x86_install-rpm_en-US.tar.gz
    2. JRE rpm bin file from the Oracle java download page. Example name: jre-6u25-linux-i586-rpm.bin

  • For OpenOffice:
    1. The linux install rpm tar gz file from the OpenOffice download page. Example name: OOo_3.3.0_Linux_x86_install-rpm-wJRE_en-US.tar.gz
    2. JRE rpm bin file from the Oracle java download page. Example name: jre-6u25-linux-i586-rpm.bin

  • When you don't use Plop Linux to add office to the opt.sqfs then you need the programs mksquashfs, unsquashfs, rpm2targz, head, grep.


How to use addoffice.sh

Create in your home directory a new directory. For this example we use ploplinux_newopt.

Copy the following files to ploplinux_newopt:

  • addoffice.sh
  • jre-6u25-linux-i586-rpm.bin
  • LibO_3.4.2_Linux_x86_install-rpm_en-US.tar.gz or OOo_3.3.0_Linux_x86_install-rpm-wJRE_en-US.tar.gz
  • opt.sqfs

When you have all required programs then open a terminal, change to ploplinux_newopt and run for LibreOffice

sh addoffice.sh LibO_3.4.2_Linux_x86_install-rpm_en-US.tar.gz jre-6u25-linux-i586-rpm.bin

for OpenOffice

sh addoffice.sh OOo_3.3.0_Linux_x86_install-rpm-wJRE_en-US.tar.gz jre-6u25-linux-i586-rpm.bin

The script creates the file opt_new.sqfs. Replace it with the old opt.sqfs of Plop Linux.


Use addoffice.sh with Plop Linux

We assume you copied all required files to ploplinux_newopt.

  • Boot Plop Linux

  • Mount the Linux drive with the ploplinux_newopt directory. You can use the command automount to mount all drives to /mnt

  • Change to ploplinux_newopt. Use "mc /mnt" to walk quickly through the directories.

  • When you are in ploplinux_newopt then run for LibreOffice

    sh addoffice.sh LibO_3.4.2_Linux_x86_install-rpm_en-US.tar.gz jre-6u25-linux-i586-rpm.bin

    for OpenOffice

    sh addoffice.sh OOo_3.3.0_Linux_x86_install-rpm-wJRE_en-US.tar.gz jre-6u25-linux-i586-rpm.bin

  • The script creates the file opt_new.sqfs. Replace it with the old opt.sqfs of Plop Linux.



Prev
Xorg, Gnome, Fluxbox, gparted and more
Go to the
  Table of Contents  
Next
x64 (64bit) version

© by Elmar Hanlhofer