Page 1 of 1

Dynare 4.4.3 installation on Ubuntu 14.04

PostPosted: Wed Nov 04, 2015 5:26 pm
by greg_dyn
Hi guys,

I've been trying to install Dynare 4.4.3 on an Ubuntu 14.04 machine (Matlab version 2015b and Dynare 4.4.1 installed). I also have the matlab-support package installed but Dynare just wouldn't install. I followed the steps here http://www.dynare.org/DynareWiki/InstallOnDebianOrUbuntu but I got this error message:
ubuntu@ip-172-31-40-161:~/Desktop$ sudo apt-get install dynare-matlab
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
dynare-matlab : Depends: dynare (>= 4.4.3-1~trusty1) but 4.4.1-1build1 is to be installed
E: Unable to correct problems, you have held broken packages.


Could you please suggest a solution to this? Thanks a lot in advance!

Re: Dynare 4.4.3 installation on Ubuntu 14.04

PostPosted: Fri Nov 06, 2015 10:29 am
by SébastienVillemot
Looks like your package manager is confused between the two Dynare versions (the official one from the Ubuntu repository, and the unofficial one from the Dynare repository).

Could you try the following:
Code: Select all
sudo apt-get update
sudo apt-get install dynare=4.4.3-1~trusty1 dynare-matlab=4.4.3-1~trusty1

Re: Dynare 4.4.3 installation on Ubuntu 14.04

PostPosted: Fri Nov 06, 2015 2:28 pm
by greg_dyn
Hi Sébastien,

Thank you so much, it has solved the issue indeed!

SébastienVillemot wrote:Looks like your package manager is confused between the two Dynare versions (the official one from the Ubuntu repository, and the unofficial one from the Dynare repository).

Could you try the following:
Code: Select all
sudo apt-get update
sudo apt-get install dynare=4.4.3-1~trusty1 dynare-matlab=4.4.3-1~trusty1

Re: Dynare 4.4.3 installation on Ubuntu 14.04

PostPosted: Sun Jul 03, 2016 5:20 am
by hscbsc
Hi,

I followed this procedure for dynare installation. However, the folder \usr\lib\dynare doesn't have dynare++ folder. Usually it is saved in this folder.
Also tried indtalling using Ubuntu 14.04 Software center, same problem for dynare 4.4.3.
Pls. suggest.

Thanks.

Re: Dynare 4.4.3 installation on Ubuntu 14.04

PostPosted: Mon Jul 04, 2016 9:34 am
by HoutanBastani
Code: Select all
dynare++
is a binary, so it should be located here:
Code: Select all
/usr/bin/dynare++

Re: Dynare 4.4.3 installation on Ubuntu 14.04

PostPosted: Thu Jul 07, 2016 2:09 am
by hscbsc
Great ! Thnx.