12 may. 2013

Script para instalar LibreOffice 4 de manera sencilla

#!/bin/bash
apt-get purge libreoffice*
apt-get remove libreoffice*
cd /tmp/
mkdir LibreOffice
cd LibreOffice
wget -c http://download.documentfoundation.org/libreoffice/stable/4.0.3/deb/x86_64/LibreOffice_4.0.3_Linux_x86-64_deb.tar.gz
wget -c http://download.documentfoundation.org/libreoffice/stable/4.0.3/deb/x86_64/LibreOffice_4.0.3_Linux_x86-64_deb_langpack_es.tar.gz
wget -c http://download.documentfoundation.org/libreoffice/stable/4.0.3/deb/x86_64/LibreOffice_4.0.3_Linux_x86-64_deb_helppack_es.tar.gz
tar xzvf LibreOffice_4.0.3_Linux_x86-64_deb.tar.gz
cd LibreOffice_4.0.3.3_Linux_x86-64_deb/DEBS/
dpkg -i *.deb
cd desktop-integration/
dpkg -i libreoffice4.0-debian-menus_4.0.3-3_all.deb
tar xzvf /tmp/LibreOffice/LibreOffice_4.0.3_Linux_x86-64_deb_langpack_es.tar.gz
cd LibreOffice_4.0.3.3_Linux_x86-64_deb_langpack_es/DEBS/
dpkg -i *.deb
tar xzvf /tmp/LibreOffice/LibreOffice_4.0.3_Linux_x86-64_deb_helppack_es.tar.gz
cd LibreOffice_4.0..3_Linux_x86-64_deb_helppack_es/DEBS/
dpkg -i *.deb
rm -R /tmp/LibreOffice
Recuerden darle permisos de ejecución y correrlo como root