I would like to install Octave and Dynare on a web server running Ubuntu 12.02 that will serve as the back end of a macro modeling web application. For now, there are size constraints on the server, so it would be better to have as small of an installation of Octave as possible.
Here is the full list of dependencies for building Octave from source:
My question is, which of these are actually required by Dynare? Octave will not be used for anything on the server besides running Dynare, and it would be good to not install any extra packages.