Precompiled binary packages of Dynare are available for Debian and Ubuntu distributions of GNU/Linux. These packages work with both Octave and MATLAB.

This page describes the installation of these packages.

1. Configuring your package manager to receive Dynare packages

This should be done only before the first installation.

Packages are available from two sources:

Depending on your version of Debian or Ubuntu, and the version of Dynare you want, you will want to choose one or the other of these two sources.

1.1. From official Debian and Ubuntu archive

Dynare is available in Debian and Ubuntu as an official package.

The status of the package can be monitored on the Debian Package Tracking System.

Status of the packages as of 2012-06-21:

Distribution

Version of Dynare

Version of Octave used by the package

Ubuntu "Lucid Lynx" 10.04

4.0.4

3.2

Ubuntu "Maverick Meerkat" 10.10

4.1.1

3.2

Ubuntu "Natty Narwhal" 11.04

4.1.3

3.2

Ubuntu "Oneiric Ocelot" 11.10

4.2.1

3.2

Ubuntu "Precise Pangolin" 12.04

4.2.4

3.2

Ubuntu "Quantal Quetzal" 12.10

4.3.0

3.6

Debian "Squeeze" 6.0

4.1.2

3.2

Debian "Wheezy" 7.0

4.3.0

3.6

Debian "Sid"

4.3.0

3.6

If you want to use these sources, you don't need to do anything: they are already configured in your package manager.

/!\ Under Debian, you may however need to select the "contrib" section in your package sources, in order to get MATLAB support.

1.2. From Dynare repository

Status of the packages as of 2012-06-21:

Distribution

Version of Dynare

Version of Octave used by the package

APT source line

Debian "Squeeze" 6.0

4.3.0

3.2

deb http://www.dynare.org/debian squeeze main contrib

/!\ We used to provide custom binaries for recent Ubuntu releases, but we had to discontinue this due to lack of manpower. Feel free to contact SébastienVillemot if you want to contribute some binaries.

1.2.1. Importing the cryptographic signing key

First, for security reasons, you should download the archive signing key, which is used to authenticate Dynare packages.

There are two ways of doing it:

sudo wget -O - http://www.dynare.org/dynare.public.key | sudo apt-key add -

1.2.2. Adding the correct APT line to your package sources

Then you need to give one "APT line" to your package manager; this line is given in the previous table, and depends on your distribution.

For adding them, you can either do it:

2. Installing the packages

There are three packages which you may want to install:

3. Using Dynare

3.1. Under MATLAB

You need to specify the correct path:

addpath /usr/share/dynare/matlab

Then, launch Dynare with:

dynare filename.mod

3.2. Under Octave

You don't need to add a path, it's automatically configured.

Then, launch Dynare with:

dynare filename.mod