Remove all games in Ubuntu and Debian in one line

DebianHow toUbuntu

The default installation of popular Debian-based desktop operating systems include many games.

For developers and diskspace conscious users these games are unessary.

To remove all the games using a command line one-liner use the following:
sudo apt purge gnome-2048 aisleriot atomix gnome-chess five-or-more hitori iagno gnome-klotski lightsoff gnome-mahjongg gnome-mines gnome-nibbles quadrapassel four-in-a-row gnome-robots gnome-sudoku swell-foop tali gnome-taquin gnome-tetravex -y & sudo apt autoremove -y
Enjoy your clutter free system!