How To Install libsemigroups on Fedora 34
Introduction
In this tutorial we learn how to install libsemigroups
on Fedora 34.
What is libsemigroups
Libsemigroups is a C++ library for semigroups and monoids; it is partly based on “Algorithms for computing finite semigroups”, “Expository Slides”, and Semigroupe 2.01 by Jean-Eric Pin. The libsemigroups library is used in the Semigroups package for GAP. Some of the features of Semigroupe 2.01 are not yet implemented in libsemigroups; this is a work in progress. Missing features include those for - Green’s relations, or classes - finding a zero - minimal ideal, principal left/right ideals, or indeed any ideals - inverses - local submonoids - the kernel - variety tests. These will be included in a future version. Libsemigroups performs roughly the same as Semigroupe 2.01 when there is a known upper bound on the size of the semigroup being enumerated, and this is used to initialize the data structures for the semigroup; see libsemigroups Semigroupe 2.01 it is always necessary to provide such an upper bound, but in libsemigroups it is not. Libsemigroups also has some advantages over Semigroupe 2.01 - there is a (hopefully) convenient C++ API, which makes it relatively easy to create and manipulate semigroups and monoids - there are some multithreaded methods for semigroups and their congruences - you do not have to know/guess the size of a semigroup or monoid before you begin - libsemigroups supports more types of elements than Semigroupe 2.01 - it is relatively straightforward to add support for further types of elements and semigroups - it is possible to enumerate a certain number of elements of a semigroup or monoid (say if you are looking for an element with a particular property), to stop, and then to start the enumeration again at a later point - you can instantiate as many semigroups and monoids as you can fit in memory - it is possible to add more generators after a semigroup or monoid has been constructed, without losing or having to recompute any information that was previously known - libsemigroups contains rudimentary implementations of the Todd-Coxeter and Knuth-Bendix algorithms for finitely presented semigroups, which can also be used to compute congruences of a (not necessarily finitely presented) semigroup or monoid. libsemigroups 1.3.7 1.fc34 x86_64 312 k libsemigroups-1.3.7-1.fc34.src.rpm fedora C++ library for semigroups and monoids https GPLv3+ Libsemigroups is a C++ library for semigroups and monoids; it is partly based on “Algorithms for computing finite semigroups”, “Expository Slides”, and Semigroupe 2.01 by Jean-Eric Pin. The libsemigroups library is used in the Semigroups package for GAP. Some of the features of Semigroupe 2.01 are not yet implemented in libsemigroups; this is a work in progress. Missing features include those for - Green’s relations, or classes - finding a zero - minimal ideal, principal left/right ideals, or indeed any ideals - inverses - local submonoids - the kernel - variety tests. These will be included in a future version. Libsemigroups performs roughly the same as Semigroupe 2.01 when there is a known upper bound on the size of the semigroup being enumerated, and this is used to initialize the data structures for the semigroup; see libsemigroups Semigroupe 2.01 it is always necessary to provide such an upper bound, but in libsemigroups it is not. Libsemigroups also has some advantages over Semigroupe 2.01 - there is a (hopefully) convenient C++ API, which makes it relatively easy to create and manipulate semigroups and monoids - there are some multithreaded methods for semigroups and their congruences - you do not have to know/guess the size of a semigroup or monoid before you begin - libsemigroups supports more types of elements than Semigroupe 2.01 - it is relatively straightforward to add support for further types of elements and semigroups - it is possible to enumerate a certain number of elements of a semigroup or monoid (say if you are looking for an element with a particular property), to stop, and then to start the enumeration again at a later point - you can instantiate as many semigroups and monoids as you can fit in memory - it is possible to add more generators after a semigroup or monoid has been constructed, without losing or having to recompute any information that was previously known - libsemigroups contains rudimentary implementations of the Todd-Coxeter and Knuth-Bendix algorithms for finitely presented semigroups, which can also be used to compute congruences of a (not necessarily finitely presented) semigroup or monoid.
We can use yum
or dnf
to install libsemigroups
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libsemigroups.
Install libsemigroups 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 libsemigroups
using dnf
by running the following command:
sudo dnf -y install libsemigroups
Install libsemigroups 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 libsemigroups
using yum
by running the following command:
sudo yum -y install libsemigroups
How To Uninstall libsemigroups on Fedora 34
To uninstall only the libsemigroups
package we can use the following command:
sudo dnf remove libsemigroups
libsemigroups Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/33
/usr/lib/.build-id/33/b262cf88abe698403279e39c94e9a41b971c0a
/usr/lib64/libsemigroups.so.1
/usr/lib64/libsemigroups.so.1.0.0
/usr/share/doc/libsemigroups
/usr/share/doc/libsemigroups/README.html
/usr/share/licenses/libsemigroups
/usr/share/licenses/libsemigroups/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/fb127dcdc5b7075bd9d4b68938e4cb46b88dab
/usr/lib/libsemigroups.so.1
/usr/lib/libsemigroups.so.1.0.0
/usr/share/doc/libsemigroups
/usr/share/doc/libsemigroups/README.html
/usr/share/licenses/libsemigroups
/usr/share/licenses/libsemigroups/LICENSE
References
- [libsemigroups website](https://libsemigroups.readthedocs.io/ https://libsemigroups.readthedocs.io/)
Summary
In this tutorial we learn how to install libsemigroups
on Fedora 34 using yum and dnf.