Rooting is no longer necessary if going directly to CM7 or newer custom ROM via Odin/Heimdall, athough you will need ADB (steps 1-4). AFTER STEP 4, skip to Post 3.
Backup your data before starting, just in case.
1. Get ADB set up on your computer.
-Download the Android-SDK for linux...