Burning Arduino Sketch...

Hi,

I'm new to all this, and I am working with an AVRISP mkII and some vanilla ATmega168's. I was wondering how I would have to compile the sketch in order to have it work on the chips by itself. Also, is it possible to run the sketch without additional components?

Thanks