The command apt-get
allows wildcards for (auto) removing packages. However, apt
doesn't seem to work the same way. For example...
sudo apt autoremove libreoffice*
...gives the following error...
E: Unable to locate package libreoffice*
Can apt
be used with wildcards, like apt-get
?
apt-get
instead withsudo apt-get autoremove libreoffice*
. – N0rbert May 08 '20 at 16:05