install on debian wheezy

Okay,
I wrote to the list about some issues with .docx files, and it was
suggested to me to try
and install a more updated version (I have the 3.5.4.2 from Debian
Wheezy repos).

I downloaded both 4.0.6 and 4.1.2, and can not install either one.
4.1.2 comes with an install script, but it asks for an rpm directory.
I have no rpms. I downloaded the .deb package.
When I try to give it the DEBS/ dir, it fails.
I didn't try further with that.

4.0.6 has no install script, so I tried to install the debs manually.
First, I just cd-ed to that dir and did
$ for i in $(ls); do dpkg -i $i; done
but this does them in alphabetical order, which won't work.
It needs them out of order.
I tried to install those it was asking for initially (like, when it says

Selecting previously unselected package libobasis4.0-base.
(Reading database ... 326826 files and directories currently installed.)
Unpacking libobasis4.0-base (from libobasis4.0-base_4.0.6.2-2_amd64.deb) ...
dpkg: dependency problems prevent configuration of libobasis4.0-base:
libobasis4.0-base depends on libobasis4.0-core01; however:
  Package libobasis4.0-core01 is not installed.

So I tried to install libobasis4.0-core01 first...needed
libreoffice4.0-ure_4.0.6.2-2_amd64.deb
So I installed that one, and then the core[01,07] files individually.
Then I did ls -1 > deblist
vi deblist
deleted those that were already installed from this list, plus the
desktop-integration directory.
THEN, I was able to to
for i in $(cat deblist); do dpkg -i $i; done

This newer version does appear to be handling .docx files better.

thanks,
Tony

I think that is the reason. You have invoked dpkg for each package in
archive separately, and it complains about missing dependencies.
If you invoke it for all packages at once, it will figure out
dependencies itself.

This is how I install packages from TDF website; all steps as root:

# cp <downloaded.tar.gz> /tmp/
# cd /tmp/
# unp <downloaded.tar.gz>
# cd <LO directory>/DEBS/
# rm *-debian-menus* # this package, available since 4.1, adds
    menu items that will execute LO; and I don't want my menus cluttered
# dpkg -i *
# (ls -1 |while read line; do awk -F '_' '{print $1}' ; done)> ~/lo-x.x-website

Last command will prepare file with package names on my /root/ dir
so I can do this to uninstall TDF version:
# aptitude purge $(cat /root/lo-x.x-website )

I have 4.0.6 installed this way and it works; I used to have 4.1.1 as well,
but removed that one when I upgraded to 4.1.2 from Debian repo (which
I prefer due to KDE4 integration package).

As an aside on this thread, I only observe that, if this is what it takes to install a newer version of LO on Linux, it may be some time before Linux can be taken seriously as an alternative to Windows.

Just sayin'

Virgil

It's the elaborate approach, to stay on the bleeding edge of LO and be
cautious with uninstall. You can take this approach if you want, *but* you
also have the easy route. Most distributions keep reasonably up-to-date
packages in their repository, and installation takes only a few clicks in
easy to use graphical user interfaces. On some of them, it's even installed
on initial setup.

For example, in Ubuntu 13.4, you have the 4.0.2 version of LO available at
hand.