There are many ways to roast garlic, this is what I do. Set oven to 350 I use my toaster oven
I try to rub off as much as the white paper that covers each clove as it will stick like crazy to the garlic when done. A few times I have removed the garlic from the shells for me it was such a waist of time and each time I have done this so much of the garlic has burned, and with out doing the smash the clove trick its so time consuming.
You can cut the top of the garlic off some will give it a splash of olive oil when its cut some will not. which ever you choose just wrap the head of garlic in foil and check on it from time to time with a squeeze, if you find it is tender then give it a look. you want just like the caramelized onions to be a dark gooey brown the photo shown could in my would be cooked longer.
When it is color you want take it out and please let it cool getting that sticky hot garlic on your fingers you only want to do once. pull the cloves apart and give each clove a squeeze or just grab the entire head and squeeze the heck out of it, I do this on plastic wrap because this is how I will store it.
I will freeze the roasted garlic when I do a full bag of it. It can be mixed into soft butter tossed in mashed potatoes, sauces soups stews anything use your imagination