1

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?

Enterprise
  • 12,002
  • 11
  • 60
  • 105
  • 1
    ah this one is even better: https://askubuntu.com/questions/1218814/problem-using-bash-wildcard-with-apt – pLumo May 08 '20 at 15:19
  • You can still use `apt-get` instead with `sudo apt-get autoremove libreoffice*`. – N0rbert May 08 '20 at 16:05

0 Answers0