Here are the commands required to reproduce the environment for running solutions on an Apple device with an Apple Silicon 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
Maxima
These commands were entered on MacOS Ventura on a 24in iMac from 2021 but should work with any Apple Silicon chip device and other recent versions of MacOS.
Press and hold Touch ID button
Options
Select User enter password
Disk Utility Select Macintosh HD
Erase
Erase Mac and Restart
Join Wifi
Enter Apple ID and password
Reinstall macOS Monterey
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
Enter Password Other Mac
Find My Continue
Location, Device, App Analytics, Siri, Continue
Configure Touch ID
Settings iCloud No Photos, Untick Optimise Mac Storage, iCloud Drive Keep Desktop and Documents folder in Sync
Let iCloud Drive sync
Software Update MacOS Ventura 13.4
No Analytics
Screen Time Continue
Dark Look
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 Rosetta2
From App Store installed WhatsApp, Pages, Numbers, Keynote, Geogebra Classic, iMovie
Installed Visual Studio Code 1.79
Installed Obsidian 1.3.5
Installed Zotero 6.0.26 Added Zotfile and Zutillo add ons
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-arm64.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 a31011 python=3.10.11
conda activate a31011
which python shows /Users/USER/miniforge3/envs/a31011/bin/python
python -V shows Python 3.10.11
which pip shows /Users/USER/miniforge3/envs/a31011/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 astropy plasmapy
pip install octave-kernel scilab-kernel
R (capital)
install.packages(‘IRkernel’)
69
IRkernel::installspec()
install.packages(‘plotly’)
quit()
From nodejs.org other downloads nodejs .pkg for 64-bit-ARM64 20.3.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/a31011
export JUPYTER_CONFIG_DIR=~/miniforge3/envs/a31011
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/USERS/miniforge3/envs/a31011/bin/julia
julia
]
add IJulia
Delete key
exit()
jupyter labextension list
jupyter kernelspec list
jupyter nbextension list
brew install maxima wxmaxima
You must be logged in to post a comment.
Be the first to comment.