How To Install factory on Fedora 34

factory is C++ class library for multivariate polynomial data C++ class library for multivariate polynomial data

Introduction

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

What is factory

Factory is a C++ class library that implements a recursive representation of multivariate polynomial data. It handles sparse multivariate polynomials over different coefficient domains, such as Z, Q and GF(q), as well as algebraic extensions over Q and GF(q) in an efficient way. Factory includes algorithms for computing univariate and multivariate gcds, resultants, chinese remainders, and algorithms to factorize multivariate polynomials and to compute the absolute factorization of multivariate polynomials with integer coefficients. factory 4.2.0p2 3.fc34 x86_64 836 k Singular-4.2.0p2-3.fc34.src.rpm updates C++ class library for multivariate polynomial data https GPLv2 or GPLv3 Factory is a C++ class library that implements a recursive representation of multivariate polynomial data. It handles sparse multivariate polynomials over different coefficient domains, such as Z, Q and GF(q), as well as algebraic extensions over Q and GF(q) in an efficient way. Factory includes algorithms for computing univariate and multivariate gcds, resultants, chinese remainders, and algorithms to factorize multivariate polynomials and to compute the absolute factorization of multivariate polynomials with integer coefficients.

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

Install factory 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 factory using dnf by running the following command:

sudo dnf -y install factory

Install factory 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 factory using yum by running the following command:

sudo yum -y install factory

How To Uninstall factory on Fedora 34

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

sudo dnf remove factory

factory Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/08
/usr/lib/.build-id/08/a975c2d63c041e2c54dbc81f45cb2334a0097c
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/21cddc354ecfa520f4f382be6890379b15b92a
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/2270918d8b1d4dc8689703f142172d67621df2
/usr/lib/libfactory-4.2.0.so
/usr/lib/libomalloc-0.9.6.so
/usr/lib/libsingular_resources-4.2.0.so
/usr/share/doc/factory
/usr/share/doc/factory/README
/usr/share/licenses/factory
/usr/share/licenses/factory/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/34dee304ce2114e8712ee2ff244f0684455066
/usr/lib/.build-id/4b/6eb327d404adfacd807d26bc0250445d55dcb6
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/9974501e953933281c49ff8b2cfc783aeaf6d3
/usr/lib64/libfactory-4.1.1.so
/usr/lib64/libomalloc-0.9.6.so
/usr/lib64/libsingular_resources-4.1.1.so
/usr/share/doc/factory
/usr/share/doc/factory/NEWS
/usr/share/doc/factory/README
/usr/share/licenses/factory
/usr/share/licenses/factory/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/66
/usr/lib/.build-id/66/dfcca776bd35dda242cb4700d4bcc795986e23
/usr/lib/.build-id/75
/usr/lib/.build-id/75/f91719a366c657dc79615762ea5a9327e0a25e
/usr/lib/.build-id/ab
/usr/lib/.build-id/ab/f30cb504eea4e9c3ecc1c8476b2b9c0bb6b2e8
/usr/lib64/libfactory-4.2.0.so
/usr/lib64/libomalloc-0.9.6.so
/usr/lib64/libsingular_resources-4.2.0.so
/usr/share/doc/factory
/usr/share/doc/factory/README
/usr/share/licenses/factory
/usr/share/licenses/factory/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/2a24701f9f3045c33fa7cd9b10e76a9b3f0378
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/d43b8c524337d3384558a2556f3c75076d49d8
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/d9a71276319ad39f3a2079e8e57e50e0e3fc0b
/usr/lib/libfactory-4.1.1.so
/usr/lib/libomalloc-0.9.6.so
/usr/lib/libsingular_resources-4.1.1.so
/usr/share/doc/factory
/usr/share/doc/factory/NEWS
/usr/share/doc/factory/README
/usr/share/licenses/factory
/usr/share/licenses/factory/COPYING

References

Summary

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