(Based on CATALUNA84's answer in https://askubuntu.com/questions/802205/how-to-install-tp-link-archer-t4u-driver)
Run the following to install Driver from https://github.com/EntropicEffect/rtl8822bu
git clone https://github.com/EntropicEffect/rtl8822bu
sudo apt-get install build-essential dkms
cd rtl8822bu
make
sudo make install
sudo modprobe 88x2bu