Differences between revisions 45 and 106 (spanning 61 versions)
Revision 45 as of 2010-07-23 15:42:27
Size: 4921
Editor: vol75-4-82-225-32-85
Comment: update package status tables
Revision 106 as of 2017-10-20 09:08:40
Size: 5730
Comment: Dynare 4.5.3 in Debian
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
Precompiled binary packages of Dynare 4.1 are available for Debian and Ubuntu distributions of GNU/Linux. These packages work with both Octave and MATLAB. Precompiled binary packages of Dynare are available for Debian and Ubuntu distributions of GNU/Linux. These packages work with both Octave and MATLAB.
Line 19: Line 19:
The Dynare package is now available in the most recent Debian and Ubuntu distributions as an official package. Dynare is available in Debian and Ubuntu as an official package.
Line 21: Line 21:
The status of the package can be monitored on the [[http://packages.qa.debian.org/dynare|Debian Package Tracking System]]. The status of the package can be monitored on the [[https://tracker.debian.org/pkg/dynare|Debian Package Tracking System]].
Line 23: Line 23:
Status of the packages as of 2010-07-23: Status of the packages as of 2017-10-20:
Line 26: Line 26:
|| Ubuntu "Karmic Koala" 9.10 || 4.0.3 || 3.0 ||
|| Ubuntu "Lucid Lynx" 10.04 || 4.0.4 || 3.2 ||
|| Ubuntu "Maverick Meerkat" || 4.1.1 || 3.2 ||
|| Debian "Squeeze" || 4.1.2 || 3.2 ||
|| Debian "Sid" || 4.1.2 || 3.2 ||
|| Debian Jessie 8 (oldstable) || 4.4.3 || 3.8 ||
|| Debian Stretch 9 (stable) || 4.4.3 || 4.0 ||
|| Debian Sid (unstable) || 4.5.3 || 4.2 ||
|| Ubuntu Trusty Tahr 14.04 (LTS) || 4.4.1 || 3.8 ||
|| Ubuntu Xenial Xerus 16.04 (LTS) || 4.4.3 || 4.0 ||
Line 36: Line 36:
/!\ 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 using the more recent Dynare packages in the following section.
Line 38: Line 40:
Status of the packages as of 2010-05-07: Status of the packages as of 2014-08-01:
Line 40: Line 42:
|| '''Distribution''' || '''Version of Dynare''' || '''Version of Octave used by the package''' || '''APT source line''' ||
|| Ubuntu "Intrepid Ibex" 8.10 || 4.1.2 || 3.0 || {{{deb http://www.dynare.org/ubuntu intrepid main contrib}}} ||
|| Ubuntu "Jaunty Jackalope" 9.04 || 4.1.2 || 3.0 || {{{deb http://www.dynare.org/ubuntu jaunty main contrib}}} ||
|| Ubuntu "Karmic Koala" 9.10 || 4.1.2 || 3.2 || {{{deb http://www.dynare.org/ubuntu karmic main contrib}}} ||
|| Ubuntu "Lucid Lynx" 10.04 || 4.1.2 || 3.2 || {{{deb http://www.dynare.org/ubuntu lucid main contrib}}} ||
|| Debian "Lenny" 5.0 || 4.1.2 || 3.0 || {{{deb http://www.dynare.org/debian lenny main contrib}}} ||
|| '''Distribution''' || '''Version of Dynare''' || '''Version of Octave used by the package''' || '''Supported archs''' || '''APT source line''' ||
|| Debian Squeeze 6.0 (oldstable) || 4.4.3 || 3.6 (from squeeze-backports) || {{{amd64 i386}}} || {{{deb http://www.dynare.org/debian squeeze main contrib}}} ||
|| Debian Wheezy 7 (stable) || 4.4.3 || 3.6 || {{{amd64 i386}}} || {{{deb http://www.dynare.org/debian wheezy main contrib}}} ||
|| Ubuntu Precise Pangolin 12.04 (LTS) || 4.4.3 || 3.8 (from Octave PPA) || {{{amd64 i386}}} || {{{deb http://www.dynare.org/ubuntu precise main contrib}}} ||
|| Ubuntu Trusty Tahr 14.04 (LTS) || 4.4.3 || 3.8 || {{{amd64 i386}}} || {{{deb http://www.dynare.org/ubuntu trusty main contrib}}} ||

Notes:
 * if you are using Debian Squeeze, you must configure backports as explained on [[http://backports.debian.org/Instructions/|the backports instructions page]]
 * if you are using Ubuntu Precise, you must configure the Octave/stable PPA as explained on [[http://wiki.octave.org/Debian|the Octave wiki]]

Line 86: Line 93:
You need to specify the correct path: You need to specify the correct path, which depends on the version of Dynare.

For Dynare 4.4.2 and older
:
Line 90: Line 99:

For Dynare 4.4.3 and later:
{{{
addpath /usr/lib/dynare/matlab
}}}
Line 100: Line 115:
On Octave 3.0 (but not 3.2), you may also want to type:
{{{
mark_as_command dynare
}}}

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:

  • Official Debian and Ubuntu archives
  • Dynare repository

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 2017-10-20:

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.3

4.2

Ubuntu Trusty Tahr 14.04 (LTS)

4.4.1

3.8

Ubuntu Xenial Xerus 16.04 (LTS)

4.4.3

4.0

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.

/!\ 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 using the more recent Dynare packages in the following section.

1.2. From Dynare repository

Status of the packages as of 2014-08-01:

Distribution

Version of Dynare

Version of Octave used by the package

Supported archs

APT source line

Debian Squeeze 6.0 (oldstable)

4.4.3

3.6 (from squeeze-backports)

amd64 i386

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

Debian Wheezy 7 (stable)

4.4.3

3.6

amd64 i386

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

Ubuntu Precise Pangolin 12.04 (LTS)

4.4.3

3.8 (from Octave PPA)

amd64 i386

deb http://www.dynare.org/ubuntu precise main contrib

Ubuntu Trusty Tahr 14.04 (LTS)

4.4.3

3.8

amd64 i386

deb http://www.dynare.org/ubuntu trusty main contrib

Notes:

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:

  • via the graphical Synaptic package manager
    • first download http://www.dynare.org/dynare.public.key, and save it somewhere

    • then launch Synaptic, go to the "Settings" menu, and click on "Repositories"
    • go to "Authentication" tab, and click on "Import Key file"
    • select the dynare.public.key file that you have downloaded, and click OK

  • or manually, by typing the following in a command line (assuming you have installed wget):

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:

  • via the graphical Synaptic package manager:
    • go to the "Settings" menu, and click on "Repositories"
    • go to "Third-party software" tab and click on "Add"
    • you will be asked for an APT line: copy/paste the APT line, then click "Add Source"
  • or manually, by editing your /etc/apt/sources.list with a text editor (as root), and adding the apt line

2. 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

3. Using Dynare

3.1. 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

3.2. Under Octave

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

Then, launch Dynare with:

dynare filename.mod

DynareWiki: InstallOnDebianOrUbuntu (last edited 2018-05-16 15:37:23 by SébastienVillemot)