New comment by tornaria on void-packages repository https://github.com/void-linux/void-packages/issues/19090#issuecomment-785040212 Comment: Note that `sagemath` includes (almost all) dependencies, and it's easy to compile with a minimal set of system packages: ``` gcc make m4 perl binutils git tar libgomp-devel ``` It's also recommended to install at least ``` gcc-fortran libressl-devel ``` The difficult part would be to compile `sagemath` with as many system packages as possible.