m4ri: fast arithmetic with dense matrices over GF(2) - Packages and Features

Skip to content
Back to top
View this page
Edit this page

# m4ri: fast arithmetic with dense matrices over GF(2)

## Description

M4RI: Library for matrix multiplication, reduction and inversion over GF(2). (See also m4ri/README for a brief overview.)

## License

- GNU General Public License Version 2 or later (see src/COPYING)

## Upstream Contact

- Authors: Martin Albrecht et al.

- Email: <m4ri-devel@googlegroups.com>

- Website: https://bitbucket.org/malb/m4ri

## Special Update/Build Instructions

- Delete the upstream Mercurial repositories (file m4ri/.hgtags, directory m4ri/.hg).

- Delete the directory m4ri/autom4te.cache (if present).

- Delete m4ri.vcproj (and perhaps other unnecessary baggage).

- Touch m4ri/configure to make sure it is newer than its sources.

## Type

standard

## Dependencies

- libpng: Bitmap image support

## Version Information

package-version.txt:

    20250128

## Equivalent System Packages

Arch Linux

    $ sudo pacman -S m4ri

conda-forge

    $ conda install m4ri

Debian/Ubuntu

    $ sudo apt-get install libm4ri-dev

Fedora/Redhat/CentOS

    $ sudo dnf install m4ri-devel

FreeBSD

    $ sudo pkg install math/m4ri

Gentoo Linux

    $ sudo emerge sci-libs/m4ri\[png\]

Nixpkgs

    $ nix-env --install m4ri

openSUSE

    $ sudo zypper install pkgconfig\(m4ri\)

Void Linux

    $ sudo xbps-install m4ri-devel

See https://repology.org/project/libm4ri/versions

If the system package is installed, `./configure` will check if it can be used.