LibreOffice / OpenOffice

<?php
$URL="https://raw.githubusercontent.com/panticz/installit/master/install.libreoffice.sh";
echo "wget $URL -O - | bash -";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

Configure default paper size
echo "a4" > /etc/papersize

# fix broken libjpipe.so /
ln -s /usr/lib/libreoffice/program/libjpipe.so /usr/lib/libjpipe.so

#http://artfiles.org/documentfoundation.org/libreoffice/stable/5.0.1/deb/x86_64/LibreOffice_5.0.1_Linux_x86-64_deb.tar.gz
#dpkg -x libreoffice5.0-ure_5.0.1.2-2_amd64.deb /tmp/
#dpkg -i libreoffice5.0-ure_5.0.1.2-2_amd64.deb
#ln -sf /opt/libreoffice5.0/program/libjpipe.so /usr/lib/libjpipe.so

# optional, start LibreOffice quicksart to speedup
ln -s /usr/lib/libreoffice/share/xdg/qstart.desktop /etc/xdg/autostart/

Links
https://launchpad.net/~libreoffice/+archive/ppa?field.series_filter=oneiric
http://de.openoffice.org/downloads/quick.html?platform=ooo_beta
http://download.openoffice.org/680/index.html
http://tombuntu.com/index.php/2007/06/23/speed-up-openoffice/
http://wiki.documentfoundation.org/ReleasePlan/3.5 - Release Plan
http://download.documentfoundation.org/libreoffice/ - Official downloads (deb)