Installing Yara on Ubuntu

I had to deal with some pain getting Yara running for Cuckoo. I figured I'd share the pain.