If your dog sucks, it's your fault not the dog's. A dog's behavior is a reflection of its owner's time and commitment to training the dog.
Your dog obviously has pent up energy that's not being exercised in a constructive manner. What do you do to help wear the dog down before you leave - walk, run, fetch, training... anything? Also, what type of breed is the dog?
You got a dog. It seems, with no understanding of what goes into owning a dog. He or she isn't just an ornament. You leave it alone all day, then you're mad at it when you get back. The thing gets no affection or companionship. Dogs are pack animals, they don't do well isolated. Likewise, dogs MUST have an outlet for energy, though it does vary with breed. I really really hope you weren't shortsighted enough to have gotten a high-energy breed with a need for mental stimulation (working breeds especially) if you're leaving him home all day.
Caging the thing borders on animal cruelty. YOU got the dog. YOU made the commitment. YOU'RE the one who doesn't give the dog an outlet for his natural instincts. YOU'RE the one who hasn't had time to find a reputable dog training class that would teach you as much as it would teach the dog.
So don't come on here whining about how much your dog sucks. I feel bad for the dog, his owner kinda sucks.
God help you if you have kids, you going to lock THEM in a closet all day?
You want a well behaved dog? 1) LEARN about your dog. If its not a pure breed, or close, just read about dogs in general and see what seems to match yours. 2) ENROLL in an obedience class. 3) COMMIT to spending time with the poor creature. Mental and physical stimulation every day. 4) And stop blaming the poor dog, HE didn't pick you.
(My apologies for the strong opinions here, but YOU brought the issue here.)
He's probably pissed that you play Linkin Park all the time.
Seriously though, take a training class. You cannot put a puppy in a cage all day and expect it to become a well behaved trained dog. Do yourself a favor, and more importantly the dog a favor, and find it a new home If you don't have the time needed to spend with it. Putting a young dog in a cage while you're at work all day is nothing short of torture. Whoever told you that is how you train a dog should be locked up in a cage themselves.