Thursday, May 2, 2024
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 3960  / 1 Year ago, fri, april 14, 2023, 1:25:59

The use case is installing Ubuntu Core to run as an appliance. The machine:




  • will run a single task,

  • is preferably slimmed down to have low disk space consumption,

  • has the (custom) kernel installed via a .deb file (not the "linux" meta package)



The kernel compile make-kpkg command suggest to include kernel_headers.



But why and/or when do I really need (or is it wise) to make and/or install linux headers (package)?


More From » software-installation

 Answers
2

You need the linux headers when you plan to develop and compile on the machine where you've installed Ubuntu.



If you build an appliance dedicated to a specific task, you are certainly not willing to compile on it.



If you need to compile your own application, you will do this on an different system. A development one and copy the compiled code to the appliance.


[#26516] Friday, April 14, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
arkcker

Total Points: 296
Total Questions: 111
Total Answers: 104

Location: Nepal
Member since Tue, Sep 8, 2020
4 Years ago
arkcker questions
Tue, Aug 17, 21, 00:08, 3 Years ago
Sun, May 14, 23, 01:04, 1 Year ago
Wed, Nov 16, 22, 03:12, 1 Year ago
Tue, Jun 1, 21, 01:29, 3 Years ago
;