Friday, May 10, 2024
 Popular · Latest · Hot · Upcoming
6
rated 0 times [  6] [ 0]  / answers: 1 / hits: 10632  / 3 Years ago, sun, june 20, 2021, 4:42:36

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?


More From » apt

 Answers
5

Basically, it's apt purge libreoffice-common.



You should be able to get almost full list of related packages with dpkg -S /usr/lib/libreoffice. At first glance it looks like all of them are safe to apt purge.
List of packages that were first "level" for Lubuntu:



$ apt depends lubuntu-desktop | grep libreoffice

Recommends: libreoffice-calc
Recommends: libreoffice-gtk3
Recommends: libreoffice-impress
Recommends: libreoffice-qt5
Recommends: libreoffice-style-breeze
Recommends: libreoffice-writer

[#3571] Monday, June 21, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
asketbridiculou

Total Points: 168
Total Questions: 116
Total Answers: 115

Location: Antigua and Barbuda
Member since Sat, Jan 28, 2023
1 Year ago
asketbridiculou questions
Thu, Dec 22, 22, 08:36, 1 Year ago
Thu, Jan 27, 22, 14:28, 2 Years ago
Tue, Nov 29, 22, 21:50, 1 Year ago
Sun, Aug 15, 21, 08:42, 3 Years ago
Wed, Aug 11, 21, 00:19, 3 Years ago
;