无法删除 Libre office Ubuntu 14.04?

无法删除 Libre office Ubuntu 14.04?

我在 Ubuntu 14.04 上安装了 Libre office,我想删除它,但即使它显示已卸载,它仍然有效、存在,而且最重要的是占用了我的磁盘空间。我尝试通过命令行卸载它,但它显示“未安装,因此无法删除”,并且它没有出现在 Ubuntu 软件中心,所以我也无法在那里删除它。我还尝试通过单击 dash 中的菜单选项来卸载它,但这也没有任何作用。我想知道是否有人知道如何删除 Libre office?如果可能的话。

这是执行 guru 命令的结果:

Package 'libreoffice-ogltrans' is not installed, so not removed
Package 'libreoffice-pdfimport' is not installed, so not removed
Package 'libreoffice-presentation-minimizer' is not installed, so not removed
Package 'libreoffice-sdbc-firebird' is not installed, so not removed
Package 'libreoffice-sdbc-hsqldb' is not installed, so not removed
Package 'libreoffice-style-human' is not installed, so not removed
Package 'libreoffice-style-tango' is not installed, so not removed
Package 'libreoffice-writer' is not installed, so not removed
Package 'browser-plugin-libreoffice' is not installed, so not removed
Package 'libreoffice' is not installed, so not removed
Package 'libreoffice-emailmerge' is not installed, so not removed
Package 'libreoffice-gtk3' is not installed, so not removed
Package 'libreoffice-kde' is not installed, so not removed
Package 'libreoffice-librelogo' is not installed, so not removed
Package 'libreoffice-mysql-connector' is not installed, so not removed
Package 'libreoffice-presenter-console' is not installed, so not removed
Package 'libreoffice-report-builder' is not installed, so not removed
Package 'libreoffice-report-builder-bin' is not installed, so not removed
Package 'libreoffice-script-provider-bsh' is not installed, so not removed
Package 'libreoffice-script-provider-js' is not installed, so not removed
Package 'libreoffice-script-provider-python' is not installed, so not removed
Package 'libreoffice-sdbc-postgresql' is not installed, so not removed
Package 'libreoffice-style-crystal' is not installed, so not removed
Package 'libreoffice-style-galaxy' is not installed, so not removed
Package 'libreoffice-style-hicontrast' is not installed, so not removed
Package 'libreoffice-style-oxygen' is not installed, so not removed
Package 'libreoffice-style-sifr' is not installed, so not removed
Package 'libreoffice-subsequentcheckbase' is not installed, so not removed
Package 'libreoffice-wiki-publisher' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  fonts-opensymbol libboost-date-time1.54.0 libclucene-contribs1
  libclucene-core1 libcmis-0.4-4 libcolamd2.8.0 libexttextcat-2.0-0
  libexttextcat-data libhyphen0 liblangtag-common liblangtag1 libmhash2
  libmythes-1.2-0 libneon27-gnutls libraptor2-0 librasqal3 librdf0 libyajl2
  lp-solve uno-libs3 ure xfonts-mathml
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

我不得不修剪一些,因为柱子太大了,而且还有一堆没有安装的,所以无论如何都无法移除。

更新

我不知道刚才到底发生了什么,但是我尝试再次打开 Libre 办公室,然后出现黑屏,上面有白色文字,打印出一堆数字,底部显示“内核恐慌 - 致命异常”,我不得不手动重新启动,但是之后 Libre 办公室似乎消失了,所以我想这很好。

答案1

sudo apt-get remove --purge libreoffice-common

似乎对我有用。

答案2

编辑:正如@muru 指出的,ncdu 命令默认不存在,因此您必须按如下方式安装它:

sudo apt-get install ncdu

在终端上运行以下命令

cd /
ncdu -x -q

导航到这些包所在的目录并手动删除它们。但要小心,因为您不想删除 libre-office 包以外的任何内容。

相关内容