HOWTO: Painless markup validation with Opera and Ubuntu

How to install the markup validator locally in Ubuntu Linux and configuring Opera to use the locally installed validator in place of the w3c hosted one.