diff --git a/README.md b/README.md index 6ff32ea..993b93c 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ Before build this driver make sure `make`, `gcc`, `linux-header` and `git` have ## First, clone this repository ``` +mkdir -p ~/build +cd ~/build git clone https://github.com/brektrou/rtl8821CU.git ``` ## Build and install with DKMS @@ -27,7 +29,7 @@ sudo dkms add -m ${DRV_NAME} -v ${DRV_VERSION} sudo dkms build -m ${DRV_NAME} -v ${DRV_VERSION} sudo dkms install -m ${DRV_NAME} -v ${DRV_VERSION} ``` -If you later on want to remove it again, do the following: +If you later on want to remove it, do the following: ``` DRV_NAME=rtl8821CU DRV_VERSION=5.4.1 @@ -40,6 +42,11 @@ cd rtl8821CU make sudo make install ``` +If you later on want to remove it again, do the following: +``` +cd ~/build/rtl8821CU +sudo make uninstall +``` ## Checking installed driver If you successfully install the driver, the driver is installed on `/lib/modules//kernel/drivers/net/wireless/realtek/rtl8821cu`. Check the driver with the `ls` command: ```