Skip to content

Gaurav Kuwar

  • Home
  • Categories
    • Notes
    • Linux
    • Python
    • Android
  • Certifications
  • About me

Tag Archives: compile

Steps to compiling the Linux kernel

STEP 1: Switch to root user This is needed because we are working in the /usr/src directory which requires root access sudo su STEP 2: Download kernel source code from https://www.kernel.org  and move to /usr/src This is usually tar.xz or tar.gz file cd /usr/src  wget <kernel_download_URL_link> STEP 3: Extract contents from tar file For tar.xz:Continue reading “Steps to compiling the Linux kernel”

Gaurav Kuwar, Proudly powered by WordPress.