Install Ubuntu on your system, then open up terminal

and type:

sudo apt update && sudo apt install dirb -y

sudo apt update – updates repositories

sudo apt install dirb -y – installs dirb on your Ubuntu system.