Instalar ou actualizar o libreoffice á versión 5.3.0

atio

 

libreoffice

Para Debian ou Ubuntu 32

#!/bin/bash
# You must have root privelages to run this script (use sudo)
if [ `id -u` -ne 0 ]; then                        # Checks to see if script is run as root
    echo "This script must be run as root" >&2            # If it isn't, exit with error
    exit 1
fi
apt-get purge libreoffice*
apt-get remove libreoffice*
cd /tmp/
mkdir libreoffice
cd libreoffice
wget -c http://ftp.cixug.es/tdf/libreoffice/stable/5.3.3/deb/x86/LibreOffice_5.3.3_Linux_x86_deb.tar.gz
wget -c http://ftp.cixug.es/tdf/libreoffice/stable/5.3.3/deb/x86/LibreOffice_5.3.3_Linux_x86_deb_langpack_gl.tar.gz

wget -c http://ftp.cixug.es/tdf/libreoffice/stable/5.3.3/deb/x86/LibreOffice_5.3.3_Linux_x86_deb_helppack_gl.tar.gz
tar xzvf /tmp/libreoffice/LibreOffice*_Linux_x86_deb.tar.gz
cd LibreOffice*/DEBS/
dpkg -i *.deb
tar xzvf /tmp/libreoffice/LibreOffice*langpack_gl.tar.gz
cd LibreOffice*/DEBS/
dpkg -i *.deb
tar xzvf /tmp/libreoffice/LibreOffice*helppack_gl.tar.gz
cd LibreOffice*helppack_gl/DEBS/
dpkg -i libobasis*.deb
rm -R /tmp/libreoffice

Para Debian ou Ubuntu 64

#!/bin/bash
# You must have root privelages to run this script (use sudo)
if [ `id -u` -ne 0 ]; then                        # Checks to see if script is run as root
    echo "This script must be run as root" >&2            # If it isn't, exit with error
    exit 1
fi
apt-get purge libreoffice*
apt-get remove libreoffice*
cd /tmp/
mkdir libreoffice
cd libreoffice
wget -c http://ftp.cixug.es/tdf/libreoffice/stable/5.3.3/deb/x86_64/LibreOffice_5.3.3_Linux_x86-64_deb.tar.gz
wget -c http://ftp.cixug.es/tdf/libreoffice/stable/5.3.3/deb/x86_64/LibreOffice_5.3.3_Linux_x86-64_deb_langpack_gl.tar.gz
wget -c http://ftp.cixug.es/tdf/libreoffice/stable/5.3.3/deb/x86_64/LibreOffice_5.3.3_Linux_x86-64_deb_helppack_gl.tar.gz
tar xzvf /tmp/libreoffice/LibreOffice*_Linux_x86-64_deb.tar.gz
cd LibreOffice*/DEBS/
dpkg -i *.deb
tar xzvf /tmp/libreoffice/LibreOffice*langpack_gl.tar.gz
cd LibreOffice*/DEBS/
dpkg -i *.deb
tar xzvf /tmp/libreoffice/LibreOffice*helppack_gl.tar.gz
cd LibreOffice*helppack_gl/DEBS/
dpkg -i libobasis*.deb
rm -R /tmp/libreoffice

Termo