Yes, that's all. you can add sudo apt-get install build-essential dkms, but that's the basics.
Of course you need a kernel, but I never install it via the terminal. I always take synaptic then. The versions change and the comando would only have a very short half-life. choose one with includes the PREEMPT_RT realtime patch set.