$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

How to Install Realtek rtl8812BU Driver on Ubuntu 24.04

March 21, 2024 | By the+gnu+linux+evangelist.

Installing

  1. 3. Extracting Realtek rtl8812BU Driver

    And then Extract Driver Archive into /tmp (Skip in case of Git checkout)
    Possibly Double-Click/Right-Click on Package and Open with Archive Manager:

    How to Install Realtek rtl8812BU Driver for Ubuntu 24.04 - Extraction
    But if you are in Trouble to Find the Location on Terminal then See: How to Access Downloads Folder from Browser.
    Or from Command Line:

    unzip -d /tmp/ ~/Downloads/rtl88x2bu*.zip
  2. 4. Installing Dependencies

    Then to Install Required Stuff
    First, possibly, upgrade your System with:

    sudo apt upgrade

    Authenticate with the User Admin Pass.
    If Got “User is Not in Sudoers file” then see: How to Enable sudo.
    And if a New Kernel is installed then restart with:

    sudo reboot

    So then run:

    sudo apt install build-essential linux-headers-$(uname -r) dkms git
  3. 5. Installing Realtek rtl8812BU Driver

    Then to Install Realtek rtl8812BU Wi-fi Driver for Ubuntu
    Access the Target Folder:

    cd /tmp/rtl88x2bu*

    Next to prepare the setup play:

    VER=$(sed -n 's/\PACKAGE_VERSION="\(.*\)"/\1/p' dkms.conf)
    sudo rsync -rvhP ./ /usr/src/rtl88x2bu-${VER}

    Then add it to DKMS:

    sudo dkms add -m rtl88x2bu -v ${VER}

    Again build it with:

    sudo dkms build -m rtl88x2bu -v ${VER}

    Install it into DKMS System:

    sudo dkms install -m rtl88x2bu -v ${VER}

    Long last try to fill it up with:

    sudo modprobe 88x2bu

    Or in case, try Rebooting with:

    sudo reboot

    And you should successfully see your Wifi Adapter magically popping up from nowhere! :)
    Possibly, to load it at Boot time:

    echo 88x2bu | sudo tee -a /etc/modules

    Thanks to Randy C. Will inestimable Work!

  4. Congratulations, your Realtek rtl8812BU Network Device on Ubuntu 24.04 should be now nicely working!

Contents