Как удалить libreoffice в linux
Перейти к содержимому

Как удалить libreoffice в linux

  • автор:

ПроXubuntu

В данной записи мы будем удалять LibreOffice из Xubuntu либо возвращать его после удаления. Эти действия проводились на Xubuntu 19.04. Это нужно, например, если вы установили другой офисный пакет, например, WPS Office.

Всё довольно просто. Необходимо открыть терминал и написать там команду sudo apt remove libreoffice* . Перед удалением вам нужно согласиться, но сначала нужно скопировать список пакетов, которые будут удалены и сохранить их в текстовом файле, если вы хотите вернуть LibreOffice. Там убираем большие пробелы между названий пакетов и начинаем процесс удаления.

Но вдруг вы захотите вернуть LibreOffice. Уже было описано выше, мы должны были скопировать названия пакетов и сохранить их в текстовом файле. На всякий случай приложу команду: sudo apt install libreoffice-avmedia-backend-gstreamer libreoffice-base-core libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw libreoffice-gnome libreoffice-gtk3 libreoffice-help-en-us libreoffice-help-ru libreoffice-impress libreoffice-l10n-ru libreoffice-math libreoffice-style-colibre libreoffice-style-elementary libreoffice-style-tango libreoffice-writer python3-uno . Это список пакетов LibreOffice, установленных по умолчанию в Xubuntu 19.04.

Установка расширений

Проверка правописания, расстановка переносов и словари

2 комментария:

sudo apt remove —purge libreoffice*
[sudo] пароль для ******:
Чтение списков пакетов… Готово
Построение дерева зависимостей
Чтение информации о состоянии… Готово
E: Невозможно найти пакет libreoffice*

Кстати, да.
Удаление офисного покета в Alt линух командой autoremove прошло успешно.
В нескольких версиях Debian так же удалялся сразу.

Сегодня решил посмотреть "что новенького" и установил Debian 11 net install. По дефолту установился и либроффис. Но удаляться отказывается: пишет: нет такого пакета, хотя пакет явно есть и занимет немало места.

Как удалить libreoffice в linux

Причины, по которым может потребоваться удаление LibreOffice, могут быть различными и в рамках данной статьи мы не будем их обсуждать. В зависимости от операционной системы эта процедура будет протекать по разному, но сегодня мы ограничимся одной системой и рассмотрим как удалить LibreOffice в Ubuntu.

Удалить офисный пакет можно несколькими способами.

Можно открыть Центр программ и удалить все компоненты в соответствующем разделе вручную.

Также можно воспользоваться услугами Менеджера пакетов, хотя не во всех дистрибутивах он установлен по умолчанию.

Еще одним способом является удаление LibreOffice через терминал. Рассмотрим его более подробно.

Для удаления офисного пакета необходимо в терминале последовательно ввести три команды:

sudo apt-get remove —purge libreoffice*
sudo apt-get clean
sudo apt-get autoremove

Выполнение каждой из них потребует выполнения некоторых действий со стороны вашей операционной системы и некоторого времени на их выполнение.

Плюсом является то, что нам не требуется вручную отыскивать все компоненты удаляемого приложения и их последовательное удаление.

Результатом будет полное удаление LibreOffice из вашей операционной системы.

А в завершении статьи предлагаем вашему вниманию небольшое видео с наглядной демонстрацией процесса удаления LibreOffice на примере дистрибутива Kubuntu.

How to uninstall LibreOffice?

Which package should I remove to completely remove libreoffice? I have no need for office tools.

That’s the one gripe I have with package managers like apt, there’s no simple way to perform the essential task of removing unwanted software :S

12 Answers 12

Type the following in terminal to remove libreoffice:

Note that some terminals (e.g. zsh) will require the wildcard to be escaped:

An especially thorough removal technique.

Suitable generally, but especially when removing LibreOffice to replace it with a manually installed LibreOffice or OpenOffice.

Assuming LibreOffice is provided by official Ubuntu packages on your system (which it generally is, unless you’ve installed it yourself from other packages or from the LibreOffice website), you can thoroughly remove it in the Terminal:

If you want to remove global configuration files too (this does not affect per-user configuration in users’ home directories), replace remove with purge .

I think it’s unlikely that removing any of this will break other programs, because Lubuntu doesn’t come with LibreOffice, and Lubuntu users are able to run just about any Ubuntu program, without having to install LibreOffice.

Still, that is a legitimate concern and I cannot guarantee that nothing depends on your existing LibreOffice installation. Fortunately, the most serious breakages can be averted by making sure that nothing you need is removed with the LibreOffice packages. You can either be very careful while running the removal command (watch out for whatever else it says will be uninstalled), or simulate the removal first:

(That is, put -s right after apt-get , and, optionally, remove the sudo .)

I haven’t heard about any problems arising from removing fonts-opensymbol but those are fonts, and not enough people remove the package to know if problems viewing documents are common. So if the simulation reveals that a number of other packages you need or are unfamiliar with would be removed, try simulating without removing fonts-opensymbol and see what happens. And you might decide just not to remove that one at all.

The above technique uninstalls all LibreOffice packages provided in Ubuntu. I got the list of packages from here.

To shorten the command and avoiding having to type the name of every individual package, and also potentially to extend the life of this procedure in case differently named packages are provided in later versions of LibreOffice, I used the * wildcard to cover many packages at once. It is itself escaped with \ so that it won’t be expanded by the shell into the name of some unrelated file or directory, before it is passed on to apt-get .

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *