How do I install development tools for 12.10?

view story

http://askubuntu.com – I have a source tarball: ap-kernelmodule-1.0.14-13.tar.gz I have to compile a kernel module out of it and was instructed to install development tools for my Ubuntu version (which is 12.10). The format is: sudo apt-get install linux-headers-$(uname -r) build-essential Question #1: what is uname? (When I installed Ubuntu, I input sharon as my name and which is also my account name. Whenever I open a terminal window, the words sharon@sharon: appear) Based on the format, I should input: sudo apt-get install linux-headers-$(sharon -r) build-essential or sudo apt-get install linux-headers-$sha (HowTos)