Below is a script I use to bootstrap snort installations. Note: this script itself is just an implementation of the Ubuntu install guide offered from snort.org.