How to compile and run the Linux kernel source code

Viewed 34

I have already installed the virtual machine, and encountered the following error when installing the environment required for kernel compilation, how can I fix it?

  • $ sudo apt-get build-dep linux-image-$(uname -r)
  • Reading package lists... Done
  • E: You must put some 'deb-src' URIs in your sources.list
0 Answers
Related