Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Linux Headers as part of base OS install #2686

Open
gabrielkorytiak opened this issue Sep 16, 2024 · 2 comments
Open

Add Linux Headers as part of base OS install #2686

gabrielkorytiak opened this issue Sep 16, 2024 · 2 comments

Comments

@gabrielkorytiak
Copy link

gabrielkorytiak commented Sep 16, 2024

Hey can you add a linux-headers package as a part of base OS install ?
Linux headers are required when building a kernel modules with DKMS
Lot of people are not avare that they need this package when compiling modules for apps like virtualbox or hardware drivers like nvidia
linux-headers are not listed in most Arch Linux installation tuorials (Arch Wiki)
https://archlinux.org/packages/core/x86_64/linux-headers/

DKMS optional dependency for linux-headers but can be installed later

@spsf64
Copy link

spsf64 commented Sep 17, 2024

I don't think it is necessary, this will bloat the installations :(
Also, I think if you select nvidia the installer pulls the necessary dkms packages, not sure tough....

@gabrielkorytiak
Copy link
Author

gabrielkorytiak commented Sep 17, 2024

dont think that kernel headers are something that will bloat system rather its something usefull
on debian based distributions are kernel headers part of basic system install
of course it may not be needed everywhere but still having it installed with system wont hurt anyone

Nvidia drivers can be installed from two packages :
nvidia (https://archlinux.org/packages/extra/x86_64/nvidia/) or
nvidia-dkms (https://archlinux.org/packages/extra/x86_64/nvidia-dkms/)
nvidia drivers will install but wont load and work without kernel headers
dkms will complain about missing kernel headers and refuse to build kernel modules
nvidia optimus requires also a special module to switch between graphics

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants