Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index

FWIW, I wrote this script a couple of years ago to do the installations for me.


# A script to install or update libreoffice releases properly

if [[ "$1" == "-x" ]]; then
    set -x

me=`basename $0`
Usage() {
    echo "Usage: $me [-x][-h|--help] <gzipped-tarball> [<gzipped-tarball>...]"
    exit 0

if [[ -z "$1" || "$1" == "-h" || "$1" == "--help" ]]; then Usage; fi

# Change these to install on rpm base systems
cmd="dpkg -i"

for tb in $*; do
    if [[ ! -f $tb ]]; then
        if [[ -f "$tb.tgz" ]]; then
        elif [[ -f "$tb.tar.gz" ]]; then
            echo "Can't find $tb or $tb.tgz or $tb.tar.gz - skipping..."
            read ln

    # find out what the name of the uncompressed subdirectory will be
    dst=`tar tzf $tb 2> /dev/null | head -1 | awk -F/ '{print $1}'`
    tar xzf $tb
    if [[ ! -d $dst/$tgt ]]; then
        echo "Can't find $me directory $dst/$tgt - skipping..."
        read ln

    # install or update, depending on how I was called
    cd $dst/$tgt
    case $me in
            sudo $cmd *.$sfx
            if [[ -d desktop-integration ]]; then
                cd desktop-integration
                sudo $cmd *.$sfx
                cd ..
            cd ../..
            cd ..
            sudo ./update
            cd ..

    # delete the installation directory
    /bin/rm -rf $dst

echo ""


On Thu, Oct 8, 2015 at 7:47 PM, John R. Sowden
<> wrote:
I have been dealing with this issue for years, going back to the Open Office

How do you install Libreoffice under Ubuntu?

Where are the step by step, clearly documented instructions?

When are they not either on the download page in LO or a clear link on the
download page?

Here's what I find on the net including a google search:

1) Use the Software Center in Ubuntu.  Never mind that it is not the current
version.  Never mind that  the version is not posted in the "more Info"
description, along with the date of the version.


20 Go to  Press the big download button.  Now what?  Start
googling for instructions.
Expect the instructions to not tell you:
    an explanation of each command.
    where the program will end up on your system.
    whether it will automatically get rid of the remnant files and even the
original downloaded files.
    how to deal with the help, and why.


3) Google like I did last night and find that there are "ppa"s, with a well
written explanation of the "fresh ppa" being better and why. Now try to find
how to install the most current version, whether you have a copy on your
computer or not.


How to deal with dependencies, not just finding out that you have
"dependency problems" but also that LO will not install due to them.

It seems that this is a universal Linux problem.  If you don't know the
intricacies of Linux, then you shouldn't be using it.  So much for attaining
more market share.

John Sowden

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.