UPDATE: It seems that the dkms package rtl8812au-dkms in Ubuntu repo is out of date, and if you update your kernel to the latest, then you will notice that the driver will stop working. If you know any Github project that works with the latest kernel, please let me know and I will update this post to include it. Hopefully, someone will update the source code to be compatible with the latest kernel. : If you are using Ubuntu 18.04 LTS or any distro with kernel 4.15 (or above), then the following steps will not work. The Github repo in the original post has been fixed, now you can follow the steps in the original post to install the Linux driver. I will keep an eye on it and will update this post if the master branch is updated to fix this issue. I see there are two pull requests that address this issue, but they have not been merged into the master branch. The original GitHub repo “gnab” is not working with kernel 4.19 and higher ( ), if you have trouble compiling the driver, then try this repo. Looks like AstroDrabb repository is not available any more. Follow the steps under the DKMS section.Copy all contents in the folder to “/usr/src/8812au-4.2.2.Fortunately, here is the working repo: and you will need to After upgrading to Linux kernel 5.0, the two Github repos in the original post and the last update do not work any more.