aims-install-macaulay2 519 Bytes
Newer Older
1
2
#!/bin/bash

3
4
echo 'deb [signed-by=/usr/share/keyrings/macaulay2-archive-keyring.gpg] http://www.math.uiuc.edu/Macaulay2/Repositories/Debian bullseye main' >/etc/apt/sources.list.d/macaulay2.list
gpg --no-default-keyring --keyring /usr/share/keyrings/macaulay2-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CD9C0E09B0C780943A1AD85553F8BD99F40DCB31
5
6
7
8
apt-get -qq update
apt-get -y install macaulay2
pip3 install -t /usr/local/lib/python3.7/ macaulay2-jupyter-kernel
python3 -m m2_kernel.install