Posted by on 19 June 2023

Here are the commands required to reproduce the environment for running solutions on a Linux system

The editor and language options available are:

VS code

Python, Julia, R

Jupyter Lab

Python, Julia, R, Octave, gnu plot

Pluto notebook

Julia

Octave

Octave

These commands were entered on an M1 Mac running Ubuntu 20.04.2 in a Virtual Machine in Parallels but the commands should apply to other Ubuntu systems

Parallels Desktop Add Ubuntu

Login and Change password

Install Parallels Tools as prompted

Restart

Next No Next Next Done – did not choose to send data to canonical

Run Software Updater – Install Now

Restart Now

In terminal

uname -a shows 5.15.0—73generic

mkdir Developer

cd Developer

From https://github.com/conda-forge/miniforge downloaded Miniforge3-Linux-aarch64

In terminal in Downaloads bash Miniforge3-Linux-aarch64.sh

Chose to Initialise miniforge3

Restart Terminal

conda create -n u31011 python=3.10.11

conda activate u31011

which python shows /home/parallels/miniforge3/envs/u31011/bin/python

python -V shows Python 3.10.11

which pip shows /home/parallels/miniforge3/envs/u31011/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 r-base

conda install -c conda-forge astropy plasmapy 

pip install octave-kernel scilab-kernel 

sudo apt install nodejs npm 

sudo apt install octave

sudo apt install scilab

R

install.packages(‘IRkernel’)

select mirror from pop up window

install.packages(‘plotly’)

IRkernel::installspec()

quit()

From julialang.org/downloads download v1.9.1 64-bit(AArch64)

Extract to /home/

ln -s /home/parallels/julia-1.9.1/bin/julia /home/parallels/miniforge3/envs/u31011/bin/julia

julia

Using Pkg

Pkg.add(“IJulia”)

exit()

Posted in: Uncategorised

Comments

Be the first to comment.

Leave a Reply