0

I am trying to remove all the nvidia packages from my system using regex. But it gives me an error:

E: Unable to locate package nvidia-*

Here's the command I am running:

sudo apt purge nvidia-*

I don't know if I am doing something wrong or this simply isn't supported anymore. Would appreciate some help, thanks!

  • Thanks, this worked for me! I changed it to sudo apt purge '?name(nvidia-*)' and it's working! You can post this as an answer if you want. – Tirth Patel Nov 10 '20 at 14:58
  • 2
    Be sure to read the proposed removals carefully before agreeing. A poorly chosen wildcard can remove big slabs of your system. – user535733 Nov 10 '20 at 15:19

0 Answers0