aims-install-macaulay2 633 Bytes
Newer Older
Jan Groenewald's avatar
Jan Groenewald committed
1
2
#!/bin/bash

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