I have always assumed that the dm Server automatically installs dependencies bundles when it deploys an app (bundle/war/par/plan). Is my assumption correct?

If it is, what can I do in the shell to emulate the same behavior?

I am trying to deploy an app manually into the server by installing bundles. Right now, I am setting up the environment manually by locating and installing dependencies.

Also, how can I clear cached information for a particular bundle using the shell? or by manipulating the file structure in general?

Thanks.