Unlocking Tabuu in Super Smash Bros. Brawl is a serious grind, and honestly, it's one of the tougher challenges in the game. The general path involves completing the Subspace Emissary, unlocking the full roster of characters, collecting everyone's trophies, and clearing the target test levels with each character. On top of that, you'll want to have All-Star Mode completed as well.
One more thing worth clearing up: the so-called "Purge" character is not real. It's an internet hoax that spread for a while, and even the person credited with the rumor later admitted to making it up. So don't waste your time chasing it; focus on the legitimate unlock requirements and enjoy the challenge of adding Tabuu to your collection.