Using apt to remove many packages by mask [duplicate]

Tags:

Answer: 1

25 hours ago

I'm new in linux. Trying to remove libreoffice from by xubuntu 20.04. Libreoffice was installed with xubuntu. I execute many variants:

sudo apt remove 'libreoffice\*'
sudo apt remove 'libreoffice*'
sudo apt remove 'libreoffice.*'

In all cases I got error:

E: Unable to locate package libreoffice.*  <result depends on input>

What I tried:

but next solution shows how use apt-get instead of apt.

https://askubuntu.com/a/277771/906861

My questions are:

  1. how to specify mask for apt remove command?
  2. how to remove correctly libreoffice using apt?
  3. what if I use apt-get for this case?
Added by: Cordie Konopelski

Popular Search

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 2 3 4 5 6 7 8 9