.. _spkg_linbox:

linbox: Linear algebra with dense, sparse, structured matrices over the integers and finite fields
==================================================================================================

Description
-----------

LinBox is a C++ template library for exact,
high-performance linear algebra computation with dense, sparse, and
structured matrices over the integers and over finite fields.

License
-------

LGPL V2 or later


Upstream Contact
----------------

-  https://linalg.org/
-  <linbox-devel@googlegroups.com>
-  <linbox-use@googlegroups.com>


SPKG Repository
---------------

   https://bitbucket.org/malb/linbox-spkg

Dependencies
------------

-  GNU patch
-  GMP/MPIR
-  MPFR
-  NTL
-  fpLLL
-  IML
-  M4RI
-  M4RIE
-  Givaro
-  FFLAS/FFPACK
-  a BLAS implementation such as openblas


Special Update/Build Instructions
---------------------------------

TODO:

-  spkg-check is disabled for now, should work in the next release
   after 1.3.2.

-  Check whether ``make fullcheck`` works/builds, is worth running, and
   doesn't
   take ages. (Version 1.1.6 doesn't seem to have such a target.)

Type
----

standard


Dependencies
------------

- $(MP_LIBRARY)
- :ref:`spkg_fflas_ffpack`
- :ref:`spkg_flint`
- :ref:`spkg_givaro`
- :ref:`spkg_iml`
- :ref:`spkg_mpfr`
- :ref:`spkg_ntl`

Version Information
-------------------

package-version.txt::

    1.7.0+sage-2024-05-18


Equivalent System Packages
--------------------------

.. tab:: Arch Linux

   .. CODE-BLOCK:: bash

       $ sudo pacman -S linbox 


.. tab:: conda-forge

   .. CODE-BLOCK:: bash

       $ conda install linbox 


.. tab:: Debian/Ubuntu

   .. CODE-BLOCK:: bash

       $ sudo apt-get install liblinbox-dev 


.. tab:: Fedora/Redhat/CentOS

   .. CODE-BLOCK:: bash

       $ sudo dnf install linbox linbox-devel 


.. tab:: FreeBSD

   .. CODE-BLOCK:: bash

       $ sudo pkg install math/linbox 


.. tab:: Gentoo Linux

   .. CODE-BLOCK:: bash

       $ sudo emerge sci-libs/linbox 


.. tab:: Nixpkgs

   .. CODE-BLOCK:: bash

       $ nix-env --install linbox 


.. tab:: openSUSE

   .. CODE-BLOCK:: bash

       $ sudo zypper install pkgconfig\(linbox\) 


.. tab:: Void Linux

   .. CODE-BLOCK:: bash

       $ sudo xbps-install linbox-devel 



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

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

