Refer to this post
sudo apt update
sudo apt install -y git linux-headers-generic dkms
wget https://github.com/RinCat/RTL88x2BU-Linux-Driver/archive/master.zip
unzip master.zip
cd RTL88x2BU-Linux-Driver-master
sudo make uninstall
make clean
make