brektrou / rtl8821CU

Realtek RTL8811CU/RTL8821CU USB Wi-Fi adapter driver for Linux
GNU General Public License v2.0
1.6k stars 462 forks source link

Not sure how to redirect to correct directory? dkms-install.sh can't find headers? #179

Open Jibun-no-Kage opened 2 years ago

Jibun-no-Kage commented 2 years ago

Not sure how to redirect to correct directory?

About to run dkms install steps... Error! DKMS tree already contains: rtl8821CU-5.4.1 You cannot add the same module/version combo more than once. Error! echo Your kernel headers for kernel 5.15.45-v7+ cannot be found at /lib/modules/5.15.45-v7+/build or /lib/modules/5.15.45-v7+/source. You can use the --kernelsourcedir option to tell DKMS where it's located. Error! echo Your kernel headers for kernel 5.15.45-v7+ cannot be found at /lib/modules/5.15.45-v7+/build or /lib/modules/5.15.45-v7+/source. You can use the --kernelsourcedir option to tell DKMS where it's located. Finished running dkms install steps.