Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
21
rated 0 times [  21] [ 0]  / answers: 1 / hits: 88659  / 1 Year ago, thu, december 8, 2022, 1:06:18

I have installed kernel source with



sudo apt-get install linux-source -y


Now, where is the source located?


More From » kernel

 Answers
6

The kernel source code installed by the linux-source Install linux-source package is installed in the form of a compressed archive in the /usr/src directory. For example, if you are running Ubuntu 14.04 LTS, the kernel source archive will be at /usr/src/linux-source-3.13.0.tar.bz2. You can unpack the source code in your current directory wherever you like to view it with



tar jxf /usr/src/linux-source-3.13.0.tar.bz2


If instead you would like to know how to get and prepare the kernel source for building your own custom kernel, see the Ubuntu help document on compiling your own kernel or these other questions and answers:




[#25191] Friday, December 9, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
fittecanap

Total Points: 322
Total Questions: 100
Total Answers: 105

Location: Israel
Member since Tue, Nov 17, 2020
4 Years ago
;