I have a source tarball:
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
(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
Based on the format, I should input:
sudo apt-get install linux-headers-$(sharon -r) build-essential
sudo apt-get install linux-headers-$sharon -r build-essential
Question #2: Which of the above is correct?
(I am new to Linux and Ubuntu; hence detailed instructions are appreciated)