repair maple

This commit is contained in:
ben0i0d 2024-04-27 14:37:45 +08:00
parent 92f9cae525
commit 2d9d65f6a9
5 changed files with 15 additions and 12 deletions

3
.gitignore vendored
View File

@ -1 +1,2 @@
mathematica/Mathematica_14.0.0_LINUX.sh
mathematica/Mathematica_14.0.0_LINUX.sh
maple/Maple2024.0LinuxX64Installer.run

View File

@ -46,7 +46,7 @@ Specify the image in the profile of the singleuser
* Octave: An open-source numerical computing software similar to Matlab, used for scientific computing, data analysis, and numerical simulation. It provides powerful matrix operations, plotting functions, and rich numerical analysis functions, a free and convenient tool suitable for mathematical modeling, algorithm development, and teaching tasks, includes all plugins available through APT.
* Maple: A mathematical software that provides a powerful mathematical engine through an intelligent file interface, enabling easy analysis, exploration, visualization, and solving of mathematical problems.
* Description
1. Upload `license.dat libmaple.so` to the main directory. Each time the environment is started, run `cp license.dat /opt/maple/license && cp libmaple.so /opt/maple/bin.X86_64_LINUX/` to activate before use.
1. Upload `license.dat libmaple.so` to the main directory. Each time the environment is started, run `sudo cp license.dat /opt/maple/license && sudo cp libmaple.so /opt/maple/bin.X86_64_LINUX/` to activate before use.
* Mathematica: A scientific computing software that provides powerful and convenient features for data analysis, mathematical computation, and other fields.
* Description
1. Each time the environment is started, run `WolframKernel` to manually activate. View activation code at `https://mmaactivate.github.io/MMAActivate/`. If activation fails multiple times, run `rm /home/jovyan/.Mathematica/Licensing/mathpass` to delete previous license records.

View File

@ -55,7 +55,7 @@ plt.rcParams["font.family"] = zh_font.get_name()
* Octave: 开源的数值计算软件类似于Matlab用于科学计算、数据分析和数值模拟。它提供了强大的矩阵运算、绘图功能以及丰富的数值分析函数是一个免费且便捷的工具适合进行数学建模、算法开发和教学任务包含APT可获取的全部插件。
* Maple: 一个数学软件,透过智能文件界面提供强大数学引擎,可以轻松分析、探索、可视化和求解数学问题
* 说明
1. 将`license.dat libmaple.so`上传至主目录,每一次启动环境时,运行`cp license.dat /opt/maple/license && cp libmaple.so /opt/maple/bin.X86_64_LINUX/`完成激活再使用
1. 将`license.dat libmaple.so`上传至主目录,每一次启动环境时,运行`sudo cp license.dat /opt/maple/license && sudo cp libmaple.so /opt/maple/bin.X86_64_LINUX/`完成激活再使用
* Mathematica:一个科学计算软件,在数据分析、数学计算等领域提供了强大方便的使用功能。
* 说明
1. 每一次启动环境时,运行`WolframKernel`完成手动激活,激活码查看`https://mmaactivate.github.io/MMAActivate/`,如果多次激活不成功,请运行`rm /home/jovyan/.Mathematica/Licensing/mathpass`删除之前的许可记录

View File

@ -1,13 +1,15 @@
FROM ben0i0d/jupyter:py-c
FROM ben0i0d/jupyter:py-c AS builder
COPY Maple2024.0LinuxX64Installer.run .
USER root
# Two RUN layer to use cache
RUN chmod +x Maple2024.0LinuxX64Installer.run && \
./Maple2024.0LinuxX64Installer.run --mode unattended --installer-language en --installdir /opt/maple --desktopshortcut 0 && rm Maple2024.0LinuxX64Installer.run
FROM ben0i0d/jupyter:py-c
ENV PATH="${PATH}:/opt/maple/bin"
COPY --chown="${NB_UID}:${NB_GID}" kernel /opt/conda/share/jupyter/kernels/maple/
COPY Maple2023.0LinuxX64Installer.run .
RUN chmod +x Maple2023.0LinuxX64Installer.run && \
./Maple2023.0LinuxX64Installer.run --mode unattended --installer-language en --installdir /opt/maple --desktopshortcut 0 && rm Maple2023.0LinuxX64Installer.run
USER ${NB_UID}
COPY --chown="${NB_UID}:${NB_GID}" kernel /opt/base/share/jupyter/kernels/maple/
COPY --from=builder /opt/maple /opt/maple

View File

@ -1,5 +1,5 @@
{
"display_name": "Maple 2023",
"display_name": "Maple 2024",
"argv": [
"/opt/maple/bin/maple",
"-jupyter",