Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1.75 KB

Installation.md

File metadata and controls

43 lines (35 loc) · 1.75 KB

Installation of DUNE Numerics v2.8.0

Is pretty straightforward on GNU/Linux (I use Arch btw), macOS or FreeBSD. The full list is here.

For Arch Linux

First, install some AUR helper like yay. Optionally you can add arch4edu repository.

$ yay -Syu dune-core gmsh qtcreator --needed --noconfirm

For Debian 12 or later

$ sudo apt update
$ sudo apt upgrade
$ sudo apt install libdune-{<insert name module here without dune prefix>}-dev

For FreeBSD 13.0

$ pkg update
$ pkg upgrade
$ portsnap fetch
$ portsnap upgrade
$ pkg install autoconf automake hdf5 # for psurface
$ pkg install gsed opendx gcc10 gmake pkgconf binutils libtool xorgproto libXt libXpm libltdl libglvnd open-motif # for alberta
$ pkg install openmpi doxygen bash vc tex-formats py38-sphinx cmake pkgconf python38 openblas onetbb # for dune-common
$ cd /usr/ports/math/psurface/ && make install clean
$ cd /usr/ports/math/alberta/ && make install clean
$ cd /usr/ports/math/dune-common/ && make install clean
$ cd /usr/ports/math/dune-geometry/ && make install clean
$ cd /usr/ports/math/dune-uggrid/ && make install clean
$ cd /usr/ports/math/dune-grid/ && make install clean # and so for more modules like dune-fem