LibreOffice, OpenOffice
This description how you install LibreOffice or OpenOffice on Plop Linux.
LibreOffice
Download LibreOffice from the offical homepage.
Example file name: LibreOffice_5.0.3_Linux_x86-64_rpm.tar.gz
• You can run the script install_office.sh
chmod 700 install_office.sh
sudo ./install_office.sh -L LibreOffice_5.0.3_Linux_x86-64_rpm.tar.gz
• Or install manually
Extract the archive: tar xfz LibreOffice_5.0.3_Linux_x86-64_rpm.tar.gz
Change to the RPMS directory: cd LibreOffice_5.0.3_Linux_x86-64_rpm/RPMS
Extract the RPM files: rpm2targz *.rpm
Create a temporary directory: mkdir /tmp/office-install.tmp
Extract the TAR files: for i in *.tar.gz; do tar xfvz $i -C /tmp/office-install.tmp; done
Copy the opt and usr directory: sudo cp -fvr /tmp/office-install.tmp/{opt/*,usr/*} /opt
You can remove now the LibreOffice_5.0.3_Linux_x86-64_rpm and /tmp/office-install.tmp directories.
Done. Now you can start LibreOffice with the command libreoffice5.0 or from the Application menu.
OpenOffice
Download OpenOffice from the offical homepage.
Example file name: Apache_OpenOffice_4.1.2_Linux_x86-64_install-rpm_en-US.tar.gz
• You can run the script install_office.sh
chmod 700 install_office.sh
sudo ./install_office.sh -O Apache_OpenOffice_4.1.2_Linux_x86-64_install-rpm_en-US.tar.gz
• Or install manually
Extract the archive: tar xfz Apache_OpenOffice_4.1.2_Linux_x86-64_install-rpm_en-US.tar.gz
Change to the RPMS directory: cd en-US/RPMS
Copy some files: cp -v desktop-integration/* .
Extract the RPM files: rpm2targz *.rpm
Create a temporary directory: mkdir /tmp/office-install.tmp
Extract the TAR files: for i in *.tar.gz; do tar xfvz $i -C /tmp/office-install.tmp; done
Copy the opt and usr directory: sudo cp -fvr /tmp/office-install.tmp/{opt/*,usr/bin,usr/share} /opt
You can remove now the en-US and /tmp/office-install.tmp directories.
Done. Now you can start OpenOffice with the command soffice or from the Application menu.
© 2024 by
Elmar Hanlhofer
|