Firstly open Arduino IDE and go to sketch. Then click on include library and then manage the library. Now search for DHT. From there you can install the DHT library from Adafruit. After installation, you can search for Adafruit unified sensor and add it.