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


On 02/16/2011 08:49 PM, MR ZenWiz wrote:
On Wed, Feb 16, 2011 at 5:32 PM, webmaster for Kracked Press
Productions<webmaster@krackedpress.com>  wrote:
I tired a PPA several times with Ubuntu 9.x and 10.04.  It failed have the
time
I tried to install anything via PPA.  So I do not use it.

Gary already explained that - it isn't there.

I think we need to make sure that the people who are Linux users have
clear options fir installing via PPA and through the standard web site
download and terminal install.  It is only a few lines to install via the
terminal, so for me it is easier than setting up a PPA install.

A shell script would be better, like the update script that comes with it....

I still use a PDF file to remind me what the commands are, but it does
not change except the [file] name of the version to be installed.

As I said, a shell script would be better, and really simple:

#!/bin/bash
if [[ -z "$1" ]]; then
     echo "Usage: `basename $0`<install-tarball>"
     exit 1
fi

tgz=$1
if [[ ! -f $tgz ]]; then    # try adding the .tar.gz suffices...
     tgz="${tgz}.tar.gz
     if [[ ! -f $tgz ]]; then
         echo "$tgz does not appear to be a gzipped tarball - please
check the file and try again."
         exit 1
     fi
fi
tar -xzf $tgz
dir=`basename $tgz .tar.gz`
if [[ ! -d $dir/DEBS ]]; then
     echo "I can't see a DEBS subdirectory - check your tarball again."
     exit 1
fi
cd $dir/DEBS
sudo dpkg -i *.deb
if [[ -d desktop-integration ]]; then
     cd desktop-integration
     sudo dpkg -i *.deb
fi
echo "Done!"
echo ""

You can even use this to install the lang packs and help pack since it
doesn't care what the name of the file is.

I tend to avoid shell scripts.
But the German DVD [snapshot and site] being made links to
the .bin scripts for installing Java's JRE for RPM [but DEB not shown there].

If I had to do the install on several computers, I most likely would use
a script somewhere in the process, but I never really got into scripts.

--
Unsubscribe instructions: E-mail to users+help@libreoffice.org
List archive: http://listarchives.libreoffice.org/www/users/
*** All posts to this list are publicly archived for eternity ***

Context


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.