Posted by on 19 June 2023

Here are the commands required to reproduce the environment for running solutions on an Apple device with an Intel processor.

The editor and language options available are:

VS code

Python, Julia, R, LaTeX, Quarto markdown, Fortran

Jupyter Lab

Python, Julia, R, Octave, gnu plot, Quarto markdown

Pluto notebook

Julia

Octave

Octave

R Studio

R, Quarto markdown

wxMaxima Via Raspberry Pi Desktop VM

Maxima

These commands were entered on MacOS Monterey on a 12in MacBook from 2017 but should work with any Apple Intel chip device and other recent versions of MacOS.

Restart hold command R

Disk Utility Select Macintosh HD

Erase

Quit Disk Utility

Join Wifi

Reinstall macOS Ventura

Agree Licence

Select Macintosh HD

Country United Kingdom

Accessibility Not Now

WI-FI

Data & Privacy Continue

Migration Assistant Not Now

Apple ID

Terms & Conditions

Create Computer Account

Tick Enable Location Services

Share Analytics with Apple

Screen Time Continue

Enable Ask Siri

Share Audio Recordings

FileVault Disk Encryption Continue

Dark Look

Settings iCloud No Photos, Untick Optimise Mac Storage, iCloud Drive Keep Desktop and Documents folder in Sync

In Terminal

/bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)”

Run 2 homebrew path instructions

brew install gcc

brew install fortran-language-server

brew install r

brew install rstudio

brew install octave

brew install – -cask scilab

Running Scilab installed Java Runtime v8

From App Store installed Pages, Numbers, Keynote, Geogebra Classic

Installed Visual Studio Code 1.79

Installed Obsidian 1.3.5

Installed Zotero 6.0.26

Installed VirtualBox 7.0.8

Installed VirtualBox 7.08 Extension Pack

Installed Virtual Machine Raspberry Pi Desktop 1 Jul 2022

RStudio updated to 2023.06.0

Installed Julia 1.9.1

In vscode added Julia, Fortran Xavier Hahn, Fortran IntelliSense Chris Hansen, Fortran Breakpoint Support ekibun, Quarto, Jupyter, Python, LaTeX Workshop, REditor support

From https://github.com/conda-forge/miniforge downloaded Miniforge3-MacOSX-x86_64.sh

In Terminal  cd Downloads 

bash Miniforge3-MacOSX-x86_64.sh yes Enter yes

Close terminal and re enter

conda config – -set auto_activate_base false

Close terminal and re enter

conda create -n x31011 python=3.10.11

conda activate x31011

which python shows /Users/USER/miniforge3/envs/x31011/bin/python

python -V shows Python 3.10.11

which pip shows /Users/UER/miniforge3/envs/x31011/bin/pip

conda install -c conda-forge jupyterlab

conda install -c conda-forge numpy

conda install -c conda-forge sympy

conda install -c conda-forge matplotlib

conda install -c conda-forge pandas

conda install -c conda-forge plotly

conda install -c conda-forge bokeh

conda install -c conda-forge scipy

conda install -c conda-forge seaborn

conda install -c conda-forge ipympl

conda install -c conda-forge watermark

conda install -c conda-forge stochastic

conda install -c conda-forge lfortran

conda install -c conda-forge xeus-cling

conda install -c conda-forge astropy plasmapy 

pip install octave-kernel scilab-kernel gnuplot-kernel 

python -m gnuplot_kernel install – -user

R (capital)

install.packages(‘IRkernel’)

69

install.packages(‘plotly’)

IRkernel::installspec()

quit()

From nodejs.org other downloads nodejs .pkg for 64-bit-ARM64 18.16.0, Run package install from Downloads

From quarto.org download and install the program to install the Quarto CLI 1.3.361

quarto install tinytex – -update-path

jupyter labextension install @techrah/text-shortcuts

mv .jupyter miniforge3/envs/x31011

export JUPYTER_CONFIG_DIR=~/miniforge3/envs/x31011

export SCILAB_EXECUTABLE=/Applications/scilab-6.1.1.app/Contents/bin/scilab-adv-cli

ln -s /Applications/Julia-1.9.app/Contents/Resources/julia/bin/julia /Users/USER/miniforge3/envs/x31011/bin/julia

julia

]

add IJulia

Delete key

exit()

jupyter labextension list

jupyter kernelspec list

jupyter nbextension list

brew install maxima wxmaxima

Posted in: Uncategorised

Comments

Be the first to comment.

Leave a Reply