You can run MatCalc inside a Linux x86_64 Docker container, just download the Dockerfile and proceed with:

 

Build the container:

 

docker build -t matcalc .

# or

docker build -t matcalc - < Dockerfile

 

You can choose a different distribution than the default of Ubuntu 22.04:

Make sure that:

  • glibc version is at least 2.17
  • fontconfig is installed
  • SSL certificates are installed

 

docker build -t matcalc --build-arg="DISTRIBUTION=centos:7" .

 

You can choose a different MatCalc Version than the default of MatCalc 6.04.1004:

 

docker build -t matcalc \
  --build-arg="MATCALC_VERSION=6.05.0015" \
  --build-arg="MATCALC_DATE=2023-09-09" \
 .

 

Run the container:

 

# start the console

docker run --rm -it \
  --volume /etc/machine-id:/etc/machine-id  \
  matcalc

 

You can choose to start a different application than the default of MatCalc console:

 

# start the GUI

docker run --rm -it \
  --env DISPLAY \
  --volume /etc/machine-id:/etc/machine-id  \
  --volume $HOME/.Xauthority:/root/.Xauthority \
  --volume /tmp/.X11-unix:/tmp/.X11-unix \
  matcalc /opt/macalc/mcg