How to install PeerGuardian and OSMC?

no need for peerguardian you can easily block stuff via host files…

/etc/hosts.deny

just add the dns to this file

or if your using dnsmasq you can use this to block peers in dnsmasq.conf and add this value

addn-hosts=(path/to/your/blocklist)