Recommended for all platforms
# Depending on platform, use either pip or pip3
pip install --upgrade ngsolve
# to work with jupyter notebooks
pip install --upgrade webgui_jupyter_widgets
# following commands are only necessary for jupyter < 7.0.0
jupyter nbextension install --user --py webgui_jupyter_widgets
jupyter nbextension enable --user --py webgui_jupyter_widgets
Ubuntu 64-bit (22.04, and newer)
Packages are now hosted on Launchpad for all supported series starting with 22.04. First make sure to activate the 'universe' repository:sudo apt-add-repository universe
Now activate the PPA (use ppa:ngsolve/nightly to get nightly builds instead of monthly releases):sudo add-apt-repository ppa:ngsolve/ngsolve
sudo apt-get update
sudo apt-get install ngsolve
Source Code
You can check out the latest source code using git:git clone https://github.com/NGSolve/ngsolve.git ngsolve-src
For build instructions see Netgen/NGSolve Documentation.