I found a problem with the way the default install of LibreOffice Impress handles fonts on Lubuntu 20.04. That problem is covered here. In short, the solution was to remove the default install of LibreOffice (the one that gets installed by installing Lubuntu) and installing the snap version of LibreOffice.
Wanting to keep my system nice and clean, I wanted to remove the existing (default) LibreOffice. I tried:
sudo apt remove libreoffice
I also tried various versions of the above, including --purge, etc. However, it kept saying that LibreOffice was not installed, so it would not remove it.
Eventually, I found the software center for Lubuntu (my main machine is Ubuntu). There I could remove, individually, Calc, Impress, Writer, etc. However, there was nothing to remove the over-arching app of LibreOffice.
To be clear, that over-arching shell is still there. I can launch it but it cannot read any files because Impress, etc. are all gone. However, it's still there and I would like to remove it.
I found a lot of help at my other question, including this answer which indicated I should be able to use:
sudo apt remove libreoffice-base-core
sudo apt autoremove
This did not work as apt does not see that LibreOffice is installed.
Package 'libreoffice-base-core' is not installed
I then tried this, based on advice from that answer:
dpkg -l |grep "ii libre"
It returns nothing at all.
I don't see a way to remove the default install of LibreOffice, which I do not need because the snap version is working well.
When I type in:
whereis libreoffice
I get:
libreoffice: /usr/bin/libreoffice /usr/lib/libreoffice /etc/libreoffice /usr/share/libreoffice /snap/bin/libreoffice.draw /snap/bin/libreoffice /snap/bin/libreoffice.math /snap/bin/libreoffice.base /snap/bin/libreoffice.calc /snap/bin/libreoffice.impress /snap/bin/libreoffice.writer /snap/bin/libreoffice.filebug /usr/share/man/man1/libreoffice.1.gz
Can I simply delete everything named libreoffice* everywhere outside of /snap/bin/? Will that break anything?
apt purge libreoffice-common
?apt-cache show lubuntu-desktop | grep libreoffice
will show you all the LO packages installed with Lubuntu.apt remove libreoffice-core libreoffice-common libreoffice-style-breeze
) and lo.styles... I've corrected