Improved download and install procedure 

sync nodep changes from V00-22
fixed patch release source issue
check for direct dependency to be installed (avoid checking all the dependency packages to be explicitly installed)