attiny2313 arduino

How to add library to programming attiny2313 what files need upload and whats have location to arduino ?