#pragma section-numbers on Precompiled binary packages of Dynare are available for Debian and Ubuntu distributions of GNU/Linux. These packages work with both Octave and MATLAB. = Available versions = Dynare is available in Debian and Ubuntu as an official package. The status of the package can be monitored on the [[https://tracker.debian.org/pkg/dynare|Debian Tracker]]. Status of the packages as of 2018-02-03: || '''Distribution''' || '''Version of Dynare''' || '''Version of Octave used by the package''' || || Debian Jessie 8 (oldstable) || 4.4.3 || 3.8 || || Debian Stretch 9 (stable) || 4.4.3 || 4.0 || || Debian Sid (unstable) || 4.5.4 || 4.2 || || Ubuntu Trusty Tahr 14.04 (LTS) || 4.4.1 || 3.8 || || Ubuntu Xenial Xerus 16.04 (LTS) || 4.4.3 || 4.0 || /!\ Under Debian, you need to select the "contrib" section in your package sources if you want MATLAB support. /!\ These packages are guaranteed to be compatible with the version of Octave installed on your system. However, it may happen that your version of MATLAB is too recent for these packages (since MATLAB is not part of the release cycle of Debian and Ubuntu); if you experience inexplicable crashes/problems with MATLAB, then consider compiling Dynare from source. = Installing the packages = There are three packages which you may want to install: * {{{dynare}}}: base package, containing a fully functional installation of Dynare for Octave under {{{/usr/share/dynare/matlab}}} * {{{dynare-matlab}}}: install this package if you are using MATLAB, in order to recompile the MEX files. You will be asked a few questions by your package manager (such as the location where you installed MATLAB) * {{{dynare-doc}}}: documentation (HTML and PDF manual, PDF userguide, example MOD files, ...). They are installed under {{{/usr/share/doc/dynare-doc/}}}. The manual and the userguide are also registered: * in the DHelp/DWWW system, in the "Science/Mathematics" section * in Rarian (the online help system in Gnome and KDE), in the "Education/Mathematics" section = Using Dynare = == Under MATLAB == You need to specify the correct path, which depends on the version of Dynare. For Dynare 4.4.2 and older: {{{ addpath /usr/share/dynare/matlab }}} For Dynare 4.4.3 and later: {{{ addpath /usr/lib/dynare/matlab }}} Then, launch Dynare with: {{{ dynare filename.mod }}} == Under Octave == You don't need to add a path, it's automatically configured. Then, launch Dynare with: {{{ dynare filename.mod }}}