You can certainly install Varnish on a Linode. However, it's a bit outside of the support we provide to assist with the installation or configuration of software. That being said, we have a guide on getting Varnish up and running on your Linode here.