Run Mathematica armhf on RaspberryPi aarch64
Why 使用Mathematica + Python web framework提供对外的服务平台,由于机器上运行的都是AARCH64系统,而ARM Mathematica目前只支持32位的v6 v7,需要在aarch64上增加支持armhf v6 v7的运行时库。 Small TIPS 为了能够在Ubuntu 20.04 aarch64 系统上运行Mathematica ARM 32Bit,查阅了很多相关资料,最后试验成功,可以通过以下方式在aarch64系统上运行32位的Mathematica。 最主要的就是这一行:dpkg –add-architecture armhf 添加armhf源,后面就是安装对应的armhf libc libc++ zlib。 Mathematica 的相关程式安装包在这里 FROM ubuntu:20.04 RUN apt-get update RUN dpkg --add-architecture armhf RUN apt-get update RUN apt-get install libc6-dev:armhf libstdc++-9-dev:armhf zlib1g-dev:armhf COPY ./ /tmp/ WORKDIR /tmp RUN apt install ./wolframscript_1.4.0+2020081702_armhf.deb -y RUN apt install ./wolfram-engine_12.1.1+2020081901_armhf -y WORKDIR / Python Web and Wolfram Backend Demo 对应于Mathematica armhf位版本,安装gcc和g++都为armhf版本,所以我们安装的Python和Python Modules也需要对应到armhf。 ...