How To Install libsbml on Fedora 34

libsbml is Systems Biology Markup Language library Systems Biology Markup Language library

Introduction

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

What is libsbml

LibSBML is an open-source programming library designed to read, write, manipulate, translate, and validate SBML files and data streams. It is not an application itself (though it does come with example programs), but rather a library you can embed in other applications. LibSBML 5.19.0 understands SBML Level 3 Version 1 and older, as well as the draft SBML Level 2 Layout proposal by Gauges, Rost, Sahle and Wegner. It’s written in ISO C and C++ but can also be used from C#, Java, MATLAB, Octave, PERL, Python, and Ruby. libsbml 5.19.0 4.fc34 x86_64 2.3 M libsbml-5.19.0-4.fc34.src.rpm fedora Systems Biology Markup Language library http LGPLv2+ LibSBML is an open-source programming library designed to read, write, manipulate, translate, and validate SBML files and data streams. It is not an application itself (though it does come with example programs), but rather a library you can embed in other applications. LibSBML 5.19.0 understands SBML Level 3 Version 1 and older, as well as the draft SBML Level 2 Layout proposal by Gauges, Rost, Sahle and Wegner. It’s written in ISO C and C++ but can also be used from C#, Java, MATLAB, Octave, PERL, Python, and Ruby.

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

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

sudo dnf -y install libsbml

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

sudo yum -y install libsbml

How To Uninstall libsbml on Fedora 34

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

sudo dnf remove libsbml

libsbml Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/a96278d64e8d61af04fdb32e28d31fc1312c02
/usr/lib/libsbml.so.5
/usr/lib/libsbml.so.5.19.0
/usr/share/doc/libsbml
/usr/share/doc/libsbml/FUNDING.txt
/usr/share/doc/libsbml/NEWS.txt
/usr/share/doc/libsbml/README-extension.txt
/usr/share/doc/libsbml/README.md
/usr/share/licenses/libsbml
/usr/share/licenses/libsbml/COPYING.txt
/usr/share/licenses/libsbml/LICENSE.txt
/usr/lib/.build-id
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/80f36c47abeb99f2b6798a785623f22738633c
/usr/lib64/libsbml.so.5
/usr/lib64/libsbml.so.5.19.0
/usr/share/doc/libsbml
/usr/share/doc/libsbml/FUNDING.txt
/usr/share/doc/libsbml/NEWS.txt
/usr/share/doc/libsbml/README-extension.txt
/usr/share/doc/libsbml/README.md
/usr/share/licenses/libsbml
/usr/share/licenses/libsbml/COPYING.txt
/usr/share/licenses/libsbml/LICENSE.txt

References

Summary

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