Background: I bought an NVIDIA graphics card and tried to install its driver. Somewhere along the way I messed up and now I'm running my computer on Cinnamon backup mode (I have Ubuntu but I removed Unity and replaced it with Cinnamon). I want to start back from scratch (prior to this, I was using a core i3 and no graphics card).
When I enter
sudo dpkg -l | grep -i nvidia I get a list of results:
But when I enter
sudo apt-get remove --purge nvidia-* it says I have no matches found.
I've tried a couple of other different ways with similar results. Again, I want to start fresh by removing all unnecessary files.
How do I remove all unnecessary nvidia files?