How To Install cocoalib on Fedora 34

cocoalib is C++ library for computations in commutative algebra C++ library for computations in commutative algebra

Introduction

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

What is cocoalib

The CoCoA C++ library offers functions to perform calculations in Computational Commutative Algebra, and some other related areas. The library is designed to be pleasant to use while offering good run-time performance. cocoalib 0.99713 1.fc34 x86_64 1.4 M cocoalib-0.99713-1.fc34.src.rpm updates C++ library for computations in commutative algebra http GPLv3+ The CoCoA C++ library offers functions to perform calculations in Computational Commutative Algebra, and some other related areas. The library is designed to be pleasant to use while offering good run-time performance.

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

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

sudo dnf -y install cocoalib

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

sudo yum -y install cocoalib

How To Uninstall cocoalib on Fedora 34

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

sudo dnf remove cocoalib

cocoalib Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/46
/usr/lib/.build-id/46/d32cb65cf389a72c6aea6efd286680a7ba2ee9
/usr/lib64/libcocoa.so.0
/usr/lib64/libcocoa.so.0.0.0
/usr/share/doc/cocoalib
/usr/share/doc/cocoalib/README
/usr/share/licenses/cocoalib
/usr/share/licenses/cocoalib/COPYING-GPLv3
/usr/lib/.build-id
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/a4df0054862d4e2b9f74ad77f5892924cadbb3
/usr/lib/libcocoa.so.0
/usr/lib/libcocoa.so.0.0.0
/usr/share/doc/cocoalib
/usr/share/doc/cocoalib/README
/usr/share/licenses/cocoalib
/usr/share/licenses/cocoalib/COPYING-GPLv3
/usr/lib/.build-id
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/9aedc8222d70a37f4aca07926e594e27d4ade9
/usr/lib/libcocoa.so.0
/usr/lib/libcocoa.so.0.0.0
/usr/share/doc/cocoalib
/usr/share/doc/cocoalib/README
/usr/share/licenses/cocoalib
/usr/share/licenses/cocoalib/COPYING-GPLv3
/usr/lib/.build-id
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/7fd0c102419fad106a608c02d5a3e8a90d700a
/usr/lib64/libcocoa.so.0
/usr/lib64/libcocoa.so.0.0.0
/usr/share/doc/cocoalib
/usr/share/doc/cocoalib/README
/usr/share/licenses/cocoalib
/usr/share/licenses/cocoalib/COPYING-GPLv3

References

Summary

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