In this video I show you how to install the Realtek rtl8812au driver in your Debian, Ubuntu, Arch, or Manjaro Linux install Hope you enjoy!
Show Notes:
Install and configure rtl8812au in Debian:

sudo apt-get install linux-headers-$(uname -r) build-essential git

git clone

cd rtl8812AU_8821AU_linux


sudo make install

sudo modprobe rtl8812au


In Ubuntu:

Use Driver Manager
If Driver Manager is not avail or fails:
Use Debian Procedure above

In Arch/Manjaro:

yaourt rtl8812au

sudo pacman -S linux-headers

Helpful Link:

Previous articleFix Minecraft GLFW Error 65542 WGL The driver does not appear to support opengl tlauncher
Next articleWendy Shay – Uber Driver (Official Video)


  1. Fresh install of Ubuntu 20. Didn’t work. At the ‘sudo make install’ step it just keeps complaining about ‘cannot start rtl8812au.ko’ No such file or directory

  2. Thanks !
    I used a different and update git link , but this video helped me to the next steps

  3. Will the same method work with Kali Linux 2020.4 running in Virtual Box? I have bought the Alfa AWUS036ACH USB Network Adapter and am having issues getting it to run!!! It works perfectly on my host machine running Windows 10….
    Any advice would be appreciated 🙂

  4. It keeps giving me this error when I run make
    make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.9.0-kali1-amd64/build M=/root/rtl8812AU_8821AU_linux modules
    make[1]: *** /lib/modules/5.9.0-kali1-amd64/build: No such file or directory. Stop.
    make: *** [Makefile:1622: modules] Error 2

  5. thank u so much for sharing this out. I’m on Manjaro, tried installing with the Add/Remove Programs and packages from the AUR, none of them work. Finally got my Archer T4UHP to work following this video

  6. I am using kali linux kernal 5.8.0
    but i am getting some errors


    [email protected]:~/rtl8812AU_8821AU_linux$ sudo make

    sudo: unable to resolve host solone.mello: Name or service not known
    make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.8.0-kali3-amd64/build M=/home/solone/rtl8812AU_8821AU_linux modules
    make[1]: Entering directory ‘/usr/src/linux-headers-5.8.0-kali3-amd64’
    CC [M] /home/solone/rtl8812AU_8821AU_linux/core/rtw_br_ext.o
    In file included from /home/solone/rtl8812AU_8821AU_linux/include/drv_types.h:82,
    from /home/solone/rtl8812AU_8821AU_linux/core/rtw_br_ext.c:32:
    /home/solone/rtl8812AU_8821AU_linux/include/rtw_security.h:236:8: error: redefinition of ‘struct sha256_state’
    236 | struct sha256_state {
    | ^~~~~~~~~~~~
    In file included from /usr/src/linux-headers-5.8.0-kali3-common/include/linux/filter.h:23,
    from /usr/src/linux-headers-5.8.0-kali3-common/include/net/sock.h:59,
    from /usr/src/linux-headers-5.8.0-kali3-common/include/net/inet_sock.h:22,
    from /usr/src/linux-headers-5.8.0-kali3-common/include/net/ip.h:27,
    from /home/solone/rtl8812AU_8821AU_linux/core/rtw_br_ext.c:24:
    /usr/src/linux-headers-5.8.0-kali3-common/include/crypto/sha.h:84:8: note: originally defined here
    84 | struct sha256_state {
    | ^~~~~~~~~~~~
    make[3]: *** [/usr/src/linux-headers-5.8.0-kali3-common/scripts/ /home/solone/rtl8812AU_8821AU_linux/core/rtw_br_ext.o] Error 1
    make[2]: *** [/usr/src/linux-headers-5.8.0-kali3-common/Makefile:1764: /home/solone/rtl8812AU_8821AU_linux] Error 2
    make[1]: *** [/usr/src/linux-headers-5.8.0-kali3-common/Makefile:185: __sub-make] Error 2
    make[1]: Leaving directory ‘/usr/src/linux-headers-5.8.0-kali3-amd64’
    make: *** [Makefile:1622: modules] Error 2


    2nd command.

    [email protected]:~/rtl8812AU_8821AU_linux$ sudo make install

    sudo: unable to resolve host solone.mello: Name or service not known
    install -p -m 644 rtl8812au.ko /lib/modules/5.8.0-kali3-amd64/kernel/drivers/net/wireless/
    install: cannot stat ‘rtl8812au.ko’: No such file or directory
    make: *** [Makefile:1628: install] Error 1

    sir help needed
    or is it because the kernal is not updated for this package

  7. GOD DAMN… Why are u putting the volume so freaking LOUD?

    Would have had a heart attack if I was like 15 years older.

  8. I just installed debian buster yesterday and for some reason it says there are no wifi connections nearby, it doesn’t show my wifi ap. I don’t know what to do, i cant even install apt updates. If someone knows a solution please help me

  9. hey……in git clone there is message for entering Username and pass….????what should i do?????

  10. I just got my RT 5390 wireless card working in my HPE Desktop with Debian 10.5 by following this set of instructions: . The key was adding the non-free repo so that I could access the firmware file. Mine was showing as missing firmware and the steps you covered for Debian didn’t seem to work for me. Thanks for suggesting a possible solution though.

  11. When i entered the second command (git clone …) it prompted me to put in the username and password which i do not know…

Comments are closed.