To uninstall xpat2 just follow these instructions.
sudo apt-get remove xpat2
This will remove just the xpat2 package itself.
sudo apt-get remove --auto-remove xpat2
This will remove the xpat2 package and any other dependant packages which are no longer needed.
If you also want to delete your local/config files for xpat2 then this will work.
sudo apt-get purge xpat2
Or similarly, like this xpat2
sudo apt-get purge --auto-remove xpat2
|Maintainer||Arne Wichmann <email@example.com>|
|Description||Generic patience game for X11 sets. It does understand the rules of the well-known Spider game, as well as Klondike and others.|