sudo apt-get install build-essential git dkms linux-headers-$(uname -r)
git clone https://github.com/kelebek333/rtl8723bu-dkms
sudo dkms add ./rtl8723bu-dkms
sudo dkms build rtl8723bu/4.4.5
sudo dkms install rtl8723bu/4.4.5
sudo cp ./rtl8723bu-dkms/firmware/rtl8723bu_nic.bin /lib/firmware/rtlwifi/
sudo cp ./rtl8723bu-dkms/blacklist-rtl8xxxu.conf /etc/modprobe.d/
sudo cp ./rtl8723bu-dkms/r8723bu-pm.conf /etc/modprobe.d/
sudo dkms remove rtl8723bu/4.4.5 --all
sudo rm -f /etc/modprobe.d/blacklist-rtl8xxxu.conf
sudo rm -f /etc/modprobe.d/r8723bu-pm.conf
You can install rtl8723bu driver with following commands from PPA. Supported xUbuntu 16.04-18.04-20.04-20.10 / Linux Mint 18.x-19.x-20.x series. r8723bu-dkms package auto install the blacklist, power management configuration and firmware files.
sudo add-apt-repository ppa:kelebek333/kablosuz
sudo apt-get update
sudo apt install r8723bu-dkms
You can purge packages with following commands
sudo apt purge r8723bu-dkms