Skip to main content
linux-image -> linux-source
Source Link
jofel
  • 27.4k
  • 8
  • 71
  • 97

You could just use apt to get the source, check that the file /etc/apt/sources.list contains a line starting with

deb-src 

and then use the command:

apt-get update
#if you want to download the source into the current directory use:
apt-get source linux-image-$(uname -r)
#if you want the source to be installed in the system directory use:
apt-get install linux-imagesource-$(uname -r)
 

It will download the source in the folder:

/usr/src or /usr/sources

You could just use apt to get the source, check that the file /etc/apt/sources.list contains a line starting with

deb-src 

and then use the command:

apt-get update
#if you want to download the source into the current directory use:
apt-get source linux-image-$(uname -r)
#if you want the source to be installed in the system directory use:
apt-get install linux-image-$(uname -r)
 

It will download the source in the folder:

/usr/src or /usr/sources

You could just use apt to get the source, check that the file /etc/apt/sources.list contains a line starting with

deb-src 

and then use the command:

apt-get update
#if you want to download the source into the current directory use:
apt-get source linux-image-$(uname -r)
#if you want the source to be installed in the system directory use:
apt-get install linux-source-$(uname -r)
 

It will download the source in the folder:

/usr/src or /usr/sources
added 199 characters in body
Source Link
Kiwy
  • 9.9k
  • 13
  • 51
  • 81

You could just use apt to get the source, check that the file /etc/apt/sources.list contains a line starting with

deb-src 

and then use the command:

apt-get update
#if you want to download the source into the current directory use:
apt-get source linux-image-$(uname -r)
#if you want the source to be installed in the system directory use:
apt-get install linux-image-$(uname -r)
 

It will download the source in the folder:

/usr/src or /usr/sources

You could just use apt to get the source, check that the file /etc/apt/sources.list contains a line starting with

deb-src 

and then use the command:

apt-get update
apt-get source linux-image-$(uname -r)

It will download the source in the folder:

/usr/src or /usr/sources

You could just use apt to get the source, check that the file /etc/apt/sources.list contains a line starting with

deb-src 

and then use the command:

apt-get update
#if you want to download the source into the current directory use:
apt-get source linux-image-$(uname -r)
#if you want the source to be installed in the system directory use:
apt-get install linux-image-$(uname -r)
 

It will download the source in the folder:

/usr/src or /usr/sources
added 24 characters in body
Source Link
Kiwy
  • 9.9k
  • 13
  • 51
  • 81

You could just use apt to get the source, check that the file /etc/apt/sources.list contains a line starting with

deb-src 

and then use the command:

apt-get update
apt-get source linux-image-$(uname -r)

It will download the source in the folder:

/usr/src or /usr/sources

You could just use apt to get the source, check that the file /etc/apt/sources.list contains a line starting with

deb-src 

and then use the command:

apt-get source linux-image-$(uname -r)

It will download the source in the folder:

/usr/src or /usr/sources

You could just use apt to get the source, check that the file /etc/apt/sources.list contains a line starting with

deb-src 

and then use the command:

apt-get update
apt-get source linux-image-$(uname -r)

It will download the source in the folder:

/usr/src or /usr/sources
Source Link
Kiwy
  • 9.9k
  • 13
  • 51
  • 81
Loading