Skip to content

Ubuntu - gcc

If numgeo is used in combination with gcc the installation steps are different for Ubuntu 20.04 and Ubuntu 22.04. Make sure to follow the steps in the respective section.

Windows WSL

If Ubuntu is installed via WSL on Windows, the steps are the same as for a "native" Ubuntu installation.

numgeo uses a collection of third party libraries:

Depending on the version of Ubuntu the versions of these third party libraries changes as well.

MUMPS

The MUMPS library is already included in the numgeo executable and does not need to be installed.

Install dependencies

To install the required third party packages

  1. Open the terminal
  2. Install dependencies

    • Method 1: Enter the following lines of code line by line

      sudo apt-get install build-essentials -y
      
      sudo apt-get install gfortran -y
      
      sudo apt-get install gdb -y
      
      • Ubuntu 20.04:

        sudo apt-get install libscotch-6.0 -y
        
      • Ubuntu 22.04:

        sudo apt-get install libscotch-6.1 -y
        
      sudo apt-get install libscotchmetis-dev -y
      
      sudo apt-get install libopenblas-serial-dev -y
      
    • Method 2: Download this one of the following shell scripts, open the terminal in the directory where the script is located and run it:

      • Ubuntu 20.04: script

        sudo install_dependencies_ubuntu2004.sh
        
      • Ubuntu 22.04: script

        sudo install_dependencies_ubuntu2204.sh