Installing RTL8812 (USB Wifi Dongle) on Ubuntu 18 and 20 LTS

Being a certified scrimp, reviving old PCs that will otherwise be thrown away by the Uni has become a hobby of mine. To connect these desktops at home where I only have access to wifi, I bought and used cheap USB wifi dongles from ebay.