Skip to content
Snippets Groups Projects
Verified Commit 792aa64e authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Update dependency list under Debian

[skip ci]
parent 01551338
No related branches found
No related tags found
No related merge requests found
...@@ -196,9 +196,11 @@ in the `tests` folder to delete files that were created by the run of the testsu ...@@ -196,9 +196,11 @@ in the `tests` folder to delete files that were created by the run of the testsu
All the prerequisites are packaged: All the prerequisites are packaged:
- `build-essential` (for gcc, g++ and make) - `gcc`
- `g++`
- `gfortran` - `gfortran`
- `liboctave-dev` - `make`
- `octave-dev` (or `liboctave-dev` on older Debian/Ubuntu releases)
- `libboost-graph-dev` - `libboost-graph-dev`
- `libgsl-dev` - `libgsl-dev`
- `libmatio-dev` - `libmatio-dev`
...@@ -212,7 +214,6 @@ All the prerequisites are packaged: ...@@ -212,7 +214,6 @@ All the prerequisites are packaged:
- `texlive-publishers` (for Econometrica bibliographic style) - `texlive-publishers` (for Econometrica bibliographic style)
- `texlive-latex-extra` (for fullpage.sty) - `texlive-latex-extra` (for fullpage.sty)
- `texlive-fonts-extra` (for ccicons) - `texlive-fonts-extra` (for ccicons)
- `texlive-latex-recommended`
- `texlive-science` (for amstex) - `texlive-science` (for amstex)
- `texlive-plain-generic` - `texlive-plain-generic`
- `lmodern` (for macroprocessor PDF) - `lmodern` (for macroprocessor PDF)
...@@ -225,7 +226,7 @@ All the prerequisites are packaged: ...@@ -225,7 +226,7 @@ All the prerequisites are packaged:
You can install them all at once with: You can install them all at once with:
```sh ```sh
apt install build-essential gfortran liboctave-dev libboost-graph-dev libgsl-dev libmatio-dev libslicot-dev libslicot-pic libsuitesparse-dev flex libfl-dev bison autoconf automake texlive texlive-publishers texlive-latex-extra texlive-fonts-extra texlive-latex-recommended texlive-science texlive-plain-generic lmodern python3-sphinx tex-gyre latexmk libjs-mathjax doxygen x13as apt install gcc g++ gfortran make octave-dev libboost-graph-dev libgsl-dev libmatio-dev libslicot-dev libslicot-pic libsuitesparse-dev flex libfl-dev bison autoconf automake texlive texlive-publishers texlive-latex-extra texlive-fonts-extra texlive-science texlive-plain-generic lmodern python3-sphinx tex-gyre latexmk libjs-mathjax doxygen x13as
``` ```
If you use MATLAB, we strongly advise to also `apt install matlab-support` and confirm to rename the GCC libraries shipped with MATLAB to avoid possible conflicts with GCC libraries shipped by your distribution. If you use MATLAB, we strongly advise to also `apt install matlab-support` and confirm to rename the GCC libraries shipped with MATLAB to avoid possible conflicts with GCC libraries shipped by your distribution.
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# On a Debian system, install the packages needed for Windows # On a Debian system, install the packages needed for Windows
# cross-compilation, and also setup the cross-compiler alternatives. # cross-compilation, and also setup the cross-compiler alternatives.
# Copyright © 2017-2022 Dynare Team # Copyright © 2017-2023 Dynare Team
# #
# This file is part of Dynare. # This file is part of Dynare.
# #
...@@ -22,15 +22,16 @@ ...@@ -22,15 +22,16 @@
[[ $(id -u) == 0 ]] || { echo "You must be root" >&2; exit 1; } [[ $(id -u) == 0 ]] || { echo "You must be root" >&2; exit 1; }
PACKAGES=(make xz-utils p7zip bzip2 zip zstd patch wget autoconf automake PACKAGES=(make p7zip zip zstd wget autoconf automake
libtool mingw-w64 gfortran-mingw-w64 parallel flex libfl-dev bison texlive gcc-mingw-w64-x86-64-posix g++-mingw-w64-x86-64-posix
gfortran-mingw-w64-x86-64-posix parallel flex libfl-dev bison texlive
texlive-publishers texlive-latex-extra texlive-science texlive-publishers texlive-latex-extra texlive-science
texlive-fonts-extra lmodern python3-sphinx latexmk nsis) texlive-fonts-extra lmodern python3-sphinx latexmk nsis)
apt install "${PACKAGES[@]}" apt install "${PACKAGES[@]}"
# Configure MinGW to use the POSIX threading model (needed for C++11 threads in # Configure MinGW to use the POSIX threading model (needed for C++11 threads in
# Dynare++, see /usr/share/doc/gcc-mingw-w64-base/README.Debian) # libkorder, see /usr/share/doc/gcc-mingw-w64-base/README.Debian)
update-alternatives --set x86_64-w64-mingw32-gfortran /usr/bin/x86_64-w64-mingw32-gfortran-posix update-alternatives --set x86_64-w64-mingw32-gfortran /usr/bin/x86_64-w64-mingw32-gfortran-posix
update-alternatives --set x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-posix update-alternatives --set x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-posix
update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment