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


Setting aside the discussion that followed, I would like to thank Andreas for his explanation of installing Debian packages from the command line. I've been using Ubuntu for about a year now, and I've learned how to use the Software Center and Synaptic as well as the "sudo apt-get..." commands, which I sense are just three different ways of doing the same thing. Beyond that, however, I've never learned how to install a Debian package without using the PPAs.

Thank you Andreas for this explanation. You've expanded my knowledge of Linux. And after upgrading my Windows partition from 7 to 10 with less than satisfactory results, my reliance upon Linux is only that much greater.

Virgil



On 10/09/2015 05:58 AM, Andreas Säger wrote:
And this is the non-PPA way of installing an archive of Debian packages downloaded from libreoffice.org as described and supported on all OpenOffice support forums since the days of OpenOffice2:
cd ~/Downloads

If you downloaded the md5 checksum file as well, you can check the
integrity of your downloaded archive:

md5sum --check <text file with check sums>
Extract the downloaded archive:

tar -xvzf downloaded_package.tar.gz
or use your graphical file manager to unpack the archive. I don't know
any way to do the following with a graphical tool:

go to the extracted directory of debian packages which depends on the
langauge version. In case of en-US:

cd en-US/DEBS
Install the packages as root:

sudo dpkg -i *.deb

This installs/updates the whole suite to /opt and you can start the
fully featured program by calling the executable file
/opt/libreofficeX.Y/program/soffice

For any "desktop integration" you can install an additional package go
to subdir of en-US/DEBS:

cd desktop-integration
and start a simulated installation

sudo dpkg -i --simulate *.deb

This simulation _may_ fail due to a conflict with /usr/bin/soffice which
is a symlink pointing to the executable and belonging to the
installation package of some other ODF suite.
If no such error is reported, re-run the command without the --simulate
switch. In case of conflict, it is safe to overwrite this single symlink
file /usr/bin/soffice:

sudo dpkg -i --force-overwrite *.deb

Now you have LibreOffice and its components in your Ubuntu dash and/or
menues. ODF files will be opened by default with your new suite.

As far as I know, "desktop integration" can be installed for one version
of OpenOffice and LibreOffice in parallel. There were times when I had 5
different versions of both suites in parallel but only one Open and one
Libre Office can have the "desktop integration" and only one particular
suite can own the /usr/bin/soffice symlink.
You are free to modify this symlink as needed but your package managers
is very picky about the ownership of every single system file outside
your home directory. Every single file installed remotely via apt or
locally via dpkg belongs to exactly one software package.
As long as this symlink is the only conflict, I think it is perfectly OK
to use the --force-overwrite switch.

Any additional language and help packages can be installed in the same
simple way:
0. run md5sum -check <text file> to check the integrity
1. extract .tar.gz  with tar -xzvf ... or the graphical way
2. change to the extracted directory, subdir DEBS
3. sudo dpkg -i *deb
They refuse to install if their version does not match with any
installed office suite.





--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

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.