You go about using it by reading it's
documentation. You'll see the very first section is 'installing openwrt'.
Do you absolutely
need to install linux on your router? Couldn't you just get an old Pentium III computer, install linux, and learn C on that? Having to do this with your router makes it a million times harder. Cross compiling is a real pain.