How can I remove all default installed games?

Solution 1:

I received a "Virtual packages like 'gnome-games-common' can't be removed" whenever I tried Reda Lazri's solution on 12.04 LTS; ended up using:

sudo apt-get purge aisleriot gnome-sudoku mahjongg ace-of-penguins gnomine gbrainy

Solution 2:

For Ubuntu 16.10 the following command should remove all default games:

sudo apt remove aisleriot gnome-mahjongg gnome-mines gnome-sudoku 

Solution 3:

Open a terminal and type:

sudo apt-get purge gnome-games-common gbrainy && sudo apt-get autoremove