VIM2 dual boot - installing libreoffice or openoffice

Hi,
I installed the dual boot on the VIM2 and as far as browsing and watching videofiles all is very good. Nice.

But the reason why I got VIM2 was to for work in libreoffice or openoffice in Ubuntu.

I ran
sudo apt-get update
and then tried to install libreoffice on Ubuntu 16.04 by adding the ppa
sudo add-apt-repository ppa:libreoffice/ppa

This didn’t result in an installation at all. No error messages.

Even doing apt-get update, or running software updater, and the old fashioned reboot did not result into anything.

I then deleted the ppa and tried to install with downloading the deb file from libreoffice.

I got the LibreOffice_5.4.1_Linux_x86-64_deb.tar.gz because I did not know what would be the correct one for VIM2. I understand we are running ARM, not x86, but somehow this has been simulated in the dual boot image… right? Well… anyway
I could not successfully install that either.

Is there any way I can install an office suite on ubuntu on the dual boot image on the VIM2?
Preferably libreoffice or openoffice.

You will need to find one that supports aarch64.

So where you downloaded _x86_64 , that means x86 processor (like a Pentium chip or AMD) and 64 for 64.
VIM is an arm processor. So it will be armhf (arm 32 bit) or arm64 (which is also known as aarch64, this is the now preferred naming too)

Same goes for if you want to apt-get install it; regardless of which. the one you choose has to support aarch64 (or arm64).

edit
A (very) quick google suggests that libreoffice does have a build (openoffice too for that matter).

Dual booting is something different (its OS’s), it has nothing to do with arm vs. x86.

Ok… Thanks for the quick response…
I did think it was going to be something like that.
New way of looking at Ubuntu for me.

Is there an office suite for aarch64 (arm64)?

edit:
Thanks for the edit too. I just found the same… I will go and try this. Thanks freeasinbeer!

sudo apt-get update
sudo apt-get install libreoffice

That worked for me on my build of Ubuntu on VIM2. It is going to be about 350MB (80MB download).

If that doesnt work, you might have to edit your sources file.

Actually - you will probably have to edit it, it looks like the VIM default one is hacked down to core repos only.

1 Like

Well,
sudo apt-get update
sudo apt-get install libreoffice

that was the first thing I tried, before I opened this thread
… and it did download, but gave errors on terminal and did not result in installed application.

Are you on the dual boot image, or the Ubuntu only image?

How do I edit source files?

sudo apt-get install nano

sudo nano /etc/apt/sources.list

In the sources file, change it all to this:

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ports.ubuntu.com/ubuntu-ports/ xenial main restricted
deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ports.ubuntu.com/ubuntu-ports/ xenial-updates main restricted
deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://ports.ubuntu.com/ubuntu-ports/ xenial universe
deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial universe
deb http://ports.ubuntu.com/ubuntu-ports/ xenial-updates universe
deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ports.ubuntu.com/ubuntu-ports/ xenial multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial multiverse
deb http://ports.ubuntu.com/ubuntu-ports/ xenial-updates multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://ports.ubuntu.com/ubuntu-ports/ xenial-backports main restricted universe multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu xenial partner
deb-src http://archive.canonical.com/ubuntu xenial partner

deb http://ports.ubuntu.com/ubuntu-ports/ xenial-security main restricted
deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-security main restricted
deb http://ports.ubuntu.com/ubuntu-ports/ xenial-security universe
deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-security universe
deb http://ports.ubuntu.com/ubuntu-ports/ xenial-security multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-security multiverse

Save it using [CTRL]-X

Once done;
sudo apt-get update
Then try install again.

freeasinbeer… I did not need to do anything with source file myself.

I ran again
sudo apt-get update
sudo apt-get install libreoffice

and it installed fine now. ALL GOOD. Ta

EDIT:
ok, after doing quite a few things before I opened this topic (some of which I mentioned above, such as running software updater, installing and uninstalling ppas etc)
and now I ran again (as according to freeasinbeer should have worked from get go):
sudo apt-get update
sudo apt-get install libreoffice

and this time it found the appropriate file I think, it was 110MB to download and 428MB of space. Ran without errors and DONE

Thanks… it is unfortunate that I do not quite understand why it failed the first time, but it is working fine now. LibreOffice 5.1 is running smoothly.

ACE!