I tried to update the driver of my TP-Link adapter, but I messed up and now my adapter doesn't even work. It was working fine. I just want to undo whatever I did. These are the commands I ran. I found them on a post with a similar adapter.
sudo apt-get update
sudo apt-get install linux-headers-$(uname -r)
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install git
git clone https://github.com/lwfinger/rtl8188eu
cd rtl8188eu
make all
sudo make install
sudo modprobe 8188eu.ko
I hope that I didn't mess up big time. I don't want to try undo it myself and make it worse. I learned my lesson. I'd appreciate if someone could help me undo whatever I did.