New comment by tornaria on void-packages repository https://github.com/void-linux/void-packages/issues/19090#issuecomment-965695001 Comment: > @tornaria Do you think it's time to do `gap`? You mentioned you already have something, want to make a wip pr? The remaining packages all seem rather simple to package. I'll search for my old gap package; I'm not using it, since it will not be used by sage and it seems quite tricky (there are tons of packages for gap). See https://trac.sagemath.org/ticket/29644 and https://trac.sagemath.org/ticket/31761. It's a nice package to have, independently of sagemath. At some point we should start figuring out what's the best way to package sagemath: a. using the standard installation procedure, but using as many system packages as possible. This means sage runs its own local directory (and python venv) b. installing it as a python module in the system. For this we need ALL dependencies to be installed and working (including all python dependencies), and presumably passing doctests will be harder because of differences in package versions or compile options. This is how it's done in arch (https://archlinux.org/packages/community/x86_64/sagemath/) For (a) we don't need (can't use) a system gap. For (b) we require a system gap. The remaining packages that sagemath will use from system if available are: - STANDARD: brial cliquer gfan libbraiding libhomfly lrcalc nauty palp tachyon - OPTIONAL: 4ti2 coxeter3 libnauty libsemigroups lrslib perl_mongodb They are probably not very hard as in can be done in 15-20 minutes. Maybe tachyon and perl_mongodb are a bit harder. I'll try to keep doing 1 or 2 a day from the standard list. Here there's a template for a meta package "sage-deps" which will install all deps to build sage using all possible system packages. https://github.com/tornaria/void-packages/blob/sage-deps/srcpkgs/sage-deps/template