Struggle to install LibreOffice on the PinePhone
I am struggeling to install Libre Office on the PinePhone.

Martijn Braam showed that it runs on Postmarket OS:

It runs on Fedora:

I tried to install it manually:

but I gave up due to complicated file formats.

Sudo apt install libreoffice as in this instruction failed in PostmarkedOS:

LibreOffice should work on the M10 with Ubports:

but new files can only be created by the file manager, but not by LibreOffice.

I tried to install LibreOffice on Ubports PinePhone, but I get an error message:

Does someone use LibreOffice on the PinePhone or Ubports? If someone buts a«buggy» LibreOffice in the App store. I would be very happy with a buggy solution. It would save a lot of time.
You used the wrong package manager for PostmarketOS - they use apk not apt. LibreOffice seems to be available in the upstream Alpine, so it may be as simple as something like:
sudo apk add libreoffice
Thanks, Wibble, very helpful. Martijn Braam demonstrated on his Youtube channel, that it is possible to run LibreOffice on the PinePhone:

but he didn't tell his installation method to install LibreOffice. It remains his secret. Therefore I trust in you.
Wibble, it was a simple as that. I executed your command line, and LibreOffice was installed. I installed it on a Multi boot SD card Postmarket OS with GNOME desktop. I received the message:

48 errors

1273 MiB in 628 packages.

LibreOffice is NOT listed in the application list, and also nowhere else I could see it  Angry .

Another trial:

The command

sudo apt install libreoffice

worked on Ubuntu Touch installed on the internal SD card.

I received the error message:

packed libreoffice not available, but is referred to by another packet…

Also this installation trail failed Angry .
In PmOS are you showing all apps, or just the mobile-friendly ones? Did you try starting from terminal?

On mobian it installs with 'sudo apt install libreoffice', and the launcher icons appear if you scroll to the bottom of the phosh launcher and pick 'Show All Apps' but there is some display issue resulting in a blank display on the phone when you start it. If I ssh in with X forwarding I can start libreoffice with everything appearing on my desktop, so it can run. My guess is there's a detection issue similar to and that it would work with the right options.
Thank you very much for your help, Wibble. My installation was faulty:

I installed PostMarketOS Posh on my internal SD card now, and I could start it. Then I immediately connected the phone to a WIFI network. Then I run a terminal with the command:

sudo apk add libreoffice

the installation finished fine. There where all the LibreOffice icons on the desktop. Then I restarted the phone. I had to login with default user «user» and pincode «147147». But then, only the PostmarkedOS promt appeared, but the graphical user interface did not start.

I reinstalled postmarket OS. Then I rebooted PostmarketOS, PIN code 147147. I connected the phone to wifi and tested it, everything fine.

Another reboot, as above, everyting worked fine.

Then I installed once more libreOffice as described above, everything worked as above. Then I rebootet the phone once more.

The same problem appeared. I had to login with default user «user» and pincode «147147». But then, only the PostmarkedOS promt appeared, but the graphical user interface did not start.

What is wrong Angry .
I've not used PmOS in a long time, so can't really help with that. Perhaps ask in the PmOS section here, or one of their community areas?
Thanks, Wibble.

I first installed Ubuntu Touch on my second hand PinePhone which could not start according to the following instruction:

After some attempts, I changed to PostmarketOS.

Martijn Braam shows two examples where he installed LibreOffice on a PinePhone (Braveheart):

I suppose he used PostmarketOS:

I could not reproduce Martijn Braams LibreOffice installation. Martijn Braams did not comment it on his Youtube channel.

Wibble suggested to install LibreOffice on mobian as described above. I flashed mobian on my PinePhone, but it did not start.

Then I saw that tow-Boot is required to be able to boot the mobian images:

I tried the PinePhone multi-distro demo image:

but mobian does not start on the multi-distro demo image, an is stuck on the boot screen Angry .
I can confirm the detection issue I suspected on Mobian/Phosh - I can get it to start on the phone from the terminal if I force the desktop selection with an environment variable:
OOO_FORCE_DESKTOP=gnome-wayland libreoffice

It turns out libreoffice tries to detect different desktop environments and behave accordingly, but Phosh isn't one it knows about and its fallback doesn't work with phosh on wayland. If you're using a different desktop it could do something different. If phosh used to be detected as gnome it may have 'just worked' in the past. I assume this is a cross-distro problem, but perhaps they have patches or something different in the desktop environment to make it work. (an old detection bug with similar symptoms)

You'll need a pointing device as it's not touch friendly, at least by default. I don't know whether there are any optional packages or settings that could improve it. I don't know if I just couldn't touch things accurately enough, or if it's something else like touch generating different events to mouse, but with only the touchscreen I couldn't get it to do much. If you've got a working USB dock and can use a mouse and keyboard it may be fine in landscape. Mine is a BraveHeart without the USB fix so that's not an option. I don't have a bluetooth mouse, and haven't tried the bluetooth keyboard.
Thank you very much for your extended discussion, your confirmation of LibreOffice problems, and further suggestions.

Matthew Higgins confirmed on his Youtube channel that it is possible to edit documents in LibreOffice Writer and LibreOffice Calc. He had Fedora installed on the PinePhone.

I have chosen the PinePhone phosh keyboard img from 2021-Aug-10 00:38 . I already have the PinePhone keyboard which would be great for LibreOffice. I don t know whether the other or older PostmarketOS distro already support the PinePhone keyboard. But I could connect a Bluetooth keyboard and a mouse to some distros.

I installed Ubuntu Touch once more on the Pinephone. The last attempt to install LibreOffice in a Libertine container ended up with an error message after about 100 operation details lines:

E: Couldn t downlaod packages: passwd perl-base systemd sysv-rc sysvinit-utils tar tzada ubuntu-keyring util-linux zib 1g

After a fresh install, installation of LibreOffice took much longer. The Libertine container showed the «ready» status. Then I reveived a message that the memory of the internal SD card is low. I did a fresh install of all, already low memory on the Internal 16GB eMMC after LibreOffice installation?

Unfortunately, also after the second trial to install LibreOffice on Ubuntu Touch, no LibreOffice icons where visible on the Ubuntu Touch desktop Angry .

Possibly Related Threads…
Thread Author Replies Views Last Post
  Using Signal on PinePhone in mid-2023? dante404 47 15,142 05-03-2024, 02:19 AM
Last Post: dragonhospital
  Slarm64 on PinePhone [Unofficial Slackware ARM - 64 bit] acid andy 38 26,028 04-23-2024, 10:29 AM
Last Post: donchurch
  PinePhone app development WhiteHexagon 15 4,525 04-23-2024, 05:19 AM
Last Post: Jonnyc
Wink PINEPHONE not booting Touchwood 2 607 02-23-2024, 07:27 AM
Last Post: Touchwood
  Slack on PinePhone Adam Seline 5 5,617 12-20-2023, 07:20 AM
Last Post: nickolas
  Which word processor to choose for the Pinephone? Peter Gamma 8 2,300 11-23-2023, 01:06 AM
Last Post: Peter Gamma
  openSUSE for Pinephone Alefnode 75 104,027 11-17-2023, 08:37 AM
Last Post: Uturn
  Genode- Sculpt OS for the PinePhone (non Linux) Surehand53 1 1,125 11-04-2023, 07:23 PM
Last Post: tllim
  Abiword as a office mobile word processor for the Pinephone? Peter Gamma 11 2,654 10-24-2023, 08:57 AM
Last Post: Peter Gamma
  What File Manager Options Are There For The Pinephone? pinephoneuser22 7 2,669 10-18-2023, 08:37 AM
Last Post: luppivega

Forum Jump:

Users browsing this thread: 1 Guest(s)