McCode /

McCode apt repository

Debian and Ubuntu packages of McStas and McXtrace for amd64 and arm64, as built by the McCode release workflows, plus cif2hkl from SOLEIL. The packages are stored as assets of the apt release of mccode-dev/debian.

Set up

sudo -E wget -O /usr/share/keyrings/mccode-apt.gpg https://mccode-dev.github.io/debian/mccode-apt.gpg
cd /etc/apt/sources.list.d
sudo rm -f mccode.list   # older one-line format, replaced by mccode.sources
sudo -E wget -O mccode.sources https://mccode-dev.github.io/debian/mccode.sources
sudo apt-get update

Install

sudo apt install mcstas-suite-python     # McStas
sudo apt install mcxtrace-suite-python   # McXtrace

The newest release is installed by default; apt-cache policy mcstas lists the versions in the repository.

Signing key

The index is signed with McCode apt repository, ed25519, fingerprint
93C2 9FAE 91F3 0339 6EE1 9825 A7EA 966D EF93 C0AB (expires 2029-11-01).
mccode-apt.gpg (binary keyring) · mccode-apt.asc (armored) · mccode.sources (apt source)