Raspbian
The files in this directory are the architecture dependent Raspbian distribution files. We hope the automatic procedure described below works for you, so you don't have to download any of these files manually. With luck, you will not have to visit this page again nor read these instructions again. Please let us know if that doesn't work out for you.
Instructions for installing Macaulay2 with root access
Official repositories
Macaulay2 has been available in the official repositories since Raspberry Pi OS 11 "Bullseye" and may be installed using:
sudo apt install macaulay2
The version of Macaulay2 in the official repositories may be older. To obtain the most recent version, choose one of the other options below.
Personal Package Archive
The most recent version of Macaulay2 is available for Raspberry Pi OS 11 "Bullseye" and Raspberry Pi OS 12 "Bookworm" using a PPA (Personal Package Archive) maintained by Doug Torrance.
To add the repository to your system, add the following to /etc/apt/sources.list:
On Raspberry Pi OS 12 "Bookworm":
deb [signed-by=/usr/share/keyrings/debian-keyring.gpg] https://people.debian.org/~dtorrance/debian bookworm/
On Raspberry Pi OS 11 "Bullseye":
deb [signed-by=/usr/share/keyrings/debian-maintainers.gpg] https://people.debian.org/~dtorrance/debian bullseye/
And then run the following command:
sudo apt update
Then you may install Macaulay2 using the following:
sudo apt install macaulay2
Instructions for installing Macaulay2 without root access
You may install from a tar file, if we have provided one above. Alternatively, here is the procedure for unpacking a *.deb file yourself, which you may use on the two *.deb files mentioned above. (One of them provides the files that depend on the architecture and operating system, and the other provides the files that have the same form in all distrubtions.) We assume the *.deb file is called /tmp/Macaulay2-1.6-AAA-Linux-Raspbian-XXX.deb, which you have chosen because you have version XXX of Raspbian. Here "AAA" denotes your computer's architecture.
mkdir foo cd foo ar x /tmp/Macaulay2-1.6-AAA-Linux-Raspbian-XXX.deb data.tar.gz tar xzf data.tar.gz
The result will be a directory tree named "usr", which can be moved and renamed at will. After moving it, run the program bin/M2 contained within, and run the "setup()" command to set up your standard init files, as described elsewhere. Then the directory "foo" and the file "data.tar.gz" in it can be removed.