How to install WiFi Driver rtl8192?

I am new in Ubuntu and I don't known how to install my USB WiFi adapter driver!

My USB WiFi comes with a driver disk and there are 2 folders named "Linux" & "upload". Both folders contain .zip and tar.gz files. I have extracted them but I still can't install the driver.

How can I fix it so that I can access the internet?


You will need a connection to the internet to install

sudo apt-get install git build-essential linux-headers-generic
git clone https://github.com/Mange/rtl8192eu-linux-driver.git
cd rtl8192eu-linux-driver
make
sudo make install

Reboot

After a kernel update is installed, you will need to reinstall the driver

cd rtl8192eu-linux-driver
make clean
make
sudo make install

Without internet, you can download https://github.com/Mange/rtl8192eu-linux-driver/archive/master.zip on a computer with internet access and transfer it to the Ubuntu desktop. Right click on the file and choose extract here. Then in terminal

cd Desktop/rtl9182eu-linux-driver
make
sudo make install
Reboot