I have three different sets of instructions on how to install the driver for a usb adapter.

Note that the location and name of the file differ a lot. And it would help to know what to call it and where to find it since the instructions at https://github.com/gnab/rtl8812au are as clear as mud.

First version. Not clear why I have to do all three steps.

1. git clone https://github.com/abperiasamy/rt18812AU_8821AU_linux ---- fetch git repository
cd rt18812AU_8821AU_linux --- navigate to folder
make ---- compile the folder
sudo make install ----- install the compiled folder

2. cd ~/rt18812AU_8821AU_linux --- navigate to the folder
sudo make uninstall
make clean
sudo cp -R ~/rtl8812AU_8821AU_linux /usr/src/rtl8812AU_8821AU_linux-1.0
sudo dkms install -m rtl8812AU_8821AU_linux -v 1.0

Then run sudo dkms install -m rtl8812AU_8821AU_linux -v 1.0 again and it should say thta the driver is already installed

3. sudo apt-get install build-essential git
git clone https://github.com/gnab/rtl8812au.git
cd rt18812au
sudo make install
sudo modprobe 8812au

sudo restart

Second version was in an Amazon answer on how to get one of the adapters to work, and it pretty much seems to say to do step 3 and nothing else.

sudo apt-get update
sudo apt-get install linux-headers-generic build-essential git
git clone https://github.com/abperiasamy/rtl88...821U_linux.git
cd rtl8812AU_8821AU_linux
sudo make install
sudo modprobe rtl8812au

The clear as mud instructions at github seem to say to use a "new" DKMS procedure? Do I HAVE to use the new DKMS procedure? I'd rather not if I can avoid it, seems anything but straightforward.

Copy driver source to /usr/src/8812au-4.2.3

Then add it to DKMS

sudo apt-get install dkms
sudo dkms add -m 8812au -v 4.2.3
sudo dkms build -m 8812au -v 4.2.3
sudo dkms install -m 8812au -v 4.2.3
sudo make dkms_install

check with
sudo dkms staus

automatically load at boot:
echo 8812au | sudo tee -a /etc/modules

The actual line with sh says, ''''sh which looks like I need to know what each apostrophe stands for. Exactly what do I type where it says ''''sh?