How To Install mathic on Fedora 34

mathic is Data structures for Groebner basis computations Data structures for Groebner basis computations

Introduction

In this tutorial we learn how to install mathic on Fedora 34.

What is mathic

Mathic is a C++ library of fast data structures designed for use in Groebner basis computation. This includes data structures for ordering S-pairs, performing divisor queries and ordering polynomial terms during polynomial reduction. With Mathic you get to use highly optimized code with little effort so that you can focus more of your time on whatever part of your Groebner basis implementation that you are interested in. The data structures use templates to allow you to use them with whatever representation of monomials/terms and coefficients that your code uses. In fact the only places where Mathic defines its own monomials/terms is in the test code and example code. Currently only dense representations of terms/monomials are suitable since Mathic will frequently ask “what is the exponent of variable number x in this term/monomial?”. mathic 1.0 18.20200709.gitcc52f46.fc34 x86_64 58 k mathic-1.0-18.20200709.gitcc52f46.fc34.src.rpm updates Data structures for Groebner basis computations https LGPLv2+ Mathic is a C++ library of fast data structures designed for use in Groebner basis computation. This includes data structures for ordering S-pairs, performing divisor queries and ordering polynomial terms during polynomial reduction. With Mathic you get to use highly optimized code with little effort so that you can focus more of your time on whatever part of your Groebner basis implementation that you are interested in. The data structures use templates to allow you to use them with whatever representation of monomials/terms and coefficients that your code uses. In fact the only places where Mathic defines its own monomials/terms is in the test code and example code. Currently only dense representations of terms/monomials are suitable since Mathic will frequently ask “what is the exponent of variable number x in this term/monomial?”.

We can use yum or dnf to install mathic on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install mathic.

Install mathic on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install mathic using dnf by running the following command:

sudo dnf -y install mathic

Install mathic on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install mathic using yum by running the following command:

sudo yum -y install mathic

How To Uninstall mathic on Fedora 34

To uninstall only the mathic package we can use the following command:

sudo dnf remove mathic

mathic Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/34
/usr/lib/.build-id/34/5e4a9fafc0f42999fe01d1296aa390d4345114
/usr/lib64/libmathic.so.0
/usr/lib64/libmathic.so.0.0.0
/usr/share/doc/mathic
/usr/share/doc/mathic/README.md
/usr/share/licenses/mathic
/usr/share/licenses/mathic/lgpl-2.1.txt
/usr/lib/.build-id
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/7cbfef8038a13c29ebe8c11e61cb599077470d
/usr/lib64/libmathic.so.0
/usr/lib64/libmathic.so.0.0.0
/usr/share/doc/mathic
/usr/share/doc/mathic/README.md
/usr/share/licenses/mathic
/usr/share/licenses/mathic/lgpl-2.1.txt
/usr/lib/.build-id
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/69ccfbb05178d3073f56597faf3c48f05d2c34
/usr/lib/libmathic.so.0
/usr/lib/libmathic.so.0.0.0
/usr/share/doc/mathic
/usr/share/doc/mathic/README.md
/usr/share/licenses/mathic
/usr/share/licenses/mathic/lgpl-2.1.txt
/usr/lib/.build-id
/usr/lib/.build-id/a0
/usr/lib/.build-id/a0/a58634cf80386c07c7fadb31a0f18cd931c001
/usr/lib/libmathic.so.0
/usr/lib/libmathic.so.0.0.0
/usr/share/doc/mathic
/usr/share/doc/mathic/README.md
/usr/share/licenses/mathic
/usr/share/licenses/mathic/lgpl-2.1.txt

References

Summary

In this tutorial we learn how to install mathic on Fedora 34 using yum and dnf.