I preferred w3af_console and below is the step taken:-
#git clone --depth 1 https://github.com/andresriancho/w3af.git
--#--An error will occur as needed to install some dependencies--#---
( " The framework has two different sets of dependencies, one for the GUI and one for the Console, in case you don’t want to use the GUI, just run
w3af_consoleand install those dependencies. " )
$sudo apt-get install libyaml-dev python2.7-dev
You now can start to use w3af.