What Header File is needed for my RTL8812AU WiFi Adapter?

I have a new install and forgot the correct header file needed for my WiFi

Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac 2T2R DB WLAN Adapter

The headers for your installed kernel(s)

1 Like

Kernel header files are matched to kernel versions
If new install includes kernel 6.12, install linux612-headers before building rtl8812au-dkms-git from AUR

It is important to be familiar with the AUR before using it.

Similar may be said about DKMS.

https://wiki.archlinux.org/title/Dkms

But if one needed a way to automatically install headers they could use something like

sudo pacman -Syu $(ls /boot | awk -F "-" '/^linux/ { print $1"-headers" }')

Thanks for the info - The WiFi works now.