Atmega328 programming

I am trying to use an Atmega328 with bootloader for UNO i found it here : my question is can i program the arduino libraries for this chip alone without using Arduino UNO board ?? so if yes i can , how can i use the arduino as the programmer for the chip ??

thanks in advance,

if you already have an arduino borad you can do this...