Instal·lació de LibreOffice i eliminació de OpenOffice

ssh root@192.168.0.xxx
apt-get -y purge openoffice*.*
add-apt-repository ppa:libreoffice/ppa
apt-get update
apt-get upgrade
apt-get -y install libreoffice libreoffice-gnome libreoffice-l10n-common dictionaries-common
apt-get -y install libreoffice-l10n-es libreoffice-help-es language-support-writing-es language-support-es wspanish myspell-es
apt-get -y install libreoffice-l10n-ca libreoffice-help-ca language-support-writing-ca language-support-ca wcatalan myspell-ca