how to install aircrack-ng in termux

Aircrack-ng 

In this article i will shows you how to install aircrack-ng in android using Termux application.
aircrack-ng is a open source free networking software suit and It consist of sniffer, detector, WPA/WPA2-PSK and WEP cracker and analyzer tool for standard 801.11 wireless LAN's.This tool comes pre-installed in Kali Linux operating system and we can install it in also in different operating systems such as windows, mac , Android using GNU root Debian and Termux etc. aircrack-ng developed by team at the Darmstadt University of Technology in April 2007 at Germany. 

Requirements 
  1. rooted device
  2. External WiFi adapter
  3. install sudo in Termux
  4. install aircrack-ng in Termux
Install aircrack-ng in Termux :
  1. First you need a rooted device and make sure you have an external WiFi adapter that supports monitor mode and packet injection and Now download the Termux app from the Google play store.
  2. Open termux application and update using apt update command and install sudo [super user] in Termux. i assumed you have installed sudo in Termux.
  3. After the installation of sudo install the root package using apt install root-repo command.
  4. Now install the aircrack-ng using apt install aircrack-ng command 
  5. after the installation of aircrack-ng in Termux run this tool using sudo su command e.g: sudo airmon-ng  
Thank you !