How To Install sundials2 on Fedora 34

sundials2 is Suite of nonlinear solvers Suite of nonlinear solvers

Introduction

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

What is sundials2

SUNDIALS is a SUite of Non-linear DIfferential/ALgebraic equation Solvers for use in writing mathematical software. SUNDIALS was implemented with the goal of providing robust time integrators and nonlinear solvers that can easily be incorporated into existing simulation codes. The primary design goals were to require minimal information from the user, allow users to easily supply their own data structures underneath the solvers, and allow for easy incorporation of user-supplied linear solvers and preconditioners. sundials2 2.7.0 8.fc34 x86_64 366 k sundials2-2.7.0-8.fc34.src.rpm fedora Suite of nonlinear solvers https BSD SUNDIALS is a SUite of Non-linear DIfferential/ALgebraic equation Solvers for use in writing mathematical software. SUNDIALS was implemented with the goal of providing robust time integrators and nonlinear solvers that can easily be incorporated into existing simulation codes. The primary design goals were to require minimal information from the user, allow users to easily supply their own data structures underneath the solvers, and allow for easy incorporation of user-supplied linear solvers and preconditioners.

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

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

sudo dnf -y install sundials2

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

sudo yum -y install sundials2

How To Uninstall sundials2 on Fedora 34

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

sudo dnf remove sundials2

sundials2 Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/a5fa4e37d3dada8a3b15ed0f56a8889b27dc2d
/usr/lib/.build-id/08
/usr/lib/.build-id/08/c233ec3d9834ef65e9178bd9779007c9a5f8b0
/usr/lib/.build-id/27
/usr/lib/.build-id/27/822b1624007dd0b0a10d217d862cb83be1e34f
/usr/lib/.build-id/64
/usr/lib/.build-id/64/63ba58880e69fd12f8a36ee609319ada93055c
/usr/lib/.build-id/68
/usr/lib/.build-id/68/df4ee4e87abed7f6a996cb7f6aa83af4edae1b
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/5c3edd32bdaf1c7d0ad5c27293fce8be3480c0
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/af6fb95931bd23edc66b896f4dfe388639edb8
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/271ba394e4b568cfd44cc5a3fbc41fb87e1826
/usr/lib/.build-id/be
/usr/lib/.build-id/be/16e7c3e6f2bc65400b267471bb34fae8e3cf3d
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/cdf4eb1646a8a96763773cfd1ae384b26b3e96
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/d1e00b935b40d53c18e40982105dc982b1838c
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/80ccc950f9b1196ef56c101b5f12d1910b9023
/usr/lib64/libsundials_arkode.so.1
/usr/lib64/libsundials_arkode.so.1.1.0
/usr/lib64/libsundials_cvode.so.2
/usr/lib64/libsundials_cvode.so.2.9.0
/usr/lib64/libsundials_cvodes.so.2
/usr/lib64/libsundials_cvodes.so.2.9.0
/usr/lib64/libsundials_fnvecopenmp.so.2
/usr/lib64/libsundials_fnvecopenmp.so.2.7.0
/usr/lib64/libsundials_fnvecpthreads.so.2
/usr/lib64/libsundials_fnvecpthreads.so.2.7.0
/usr/lib64/libsundials_fnvecserial.so.2
/usr/lib64/libsundials_fnvecserial.so.2.7.0
/usr/lib64/libsundials_ida.so.2
/usr/lib64/libsundials_ida.so.2.9.0
/usr/lib64/libsundials_idas.so.1
/usr/lib64/libsundials_idas.so.1.3.0
/usr/lib64/libsundials_kinsol.so.2
/usr/lib64/libsundials_kinsol.so.2.9.0
/usr/lib64/libsundials_nvecopenmp.so.2
/usr/lib64/libsundials_nvecopenmp.so.2.7.0
/usr/lib64/libsundials_nvecpthreads.so.2
/usr/lib64/libsundials_nvecpthreads.so.2.7.0
/usr/lib64/libsundials_nvecserial.so.2
/usr/lib64/libsundials_nvecserial.so.2.7.0
/usr/share/doc/sundials2
/usr/share/doc/sundials2/README
/usr/share/doc/sundials2/README-arkode
/usr/share/doc/sundials2/README-cvode
/usr/share/doc/sundials2/README-cvodes
/usr/share/doc/sundials2/README-ida
/usr/share/doc/sundials2/README-kinsol
/usr/share/doc/sundials2/README-nvec_par
/usr/share/doc/sundials2/README-nvec_pthreads
/usr/share/doc/sundials2/README-nvec_ser
/usr/share/licenses/sundials2
/usr/share/licenses/sundials2/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/c2d6fc6df074df9ea9739cdbe6252df71347e0
/usr/lib/.build-id/15
/usr/lib/.build-id/15/4ca9d51d391bca5918173bd978497947c94bea
/usr/lib/.build-id/19
/usr/lib/.build-id/19/a71f9e718a8f953ae9e6d32b9a0df12b5cf500
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/440a38d1357de290204211dac879f1b5caea19
/usr/lib/.build-id/29
/usr/lib/.build-id/29/2b4ade8f6970603ecc607b0292b06659c3bdc7
/usr/lib/.build-id/57
/usr/lib/.build-id/57/e5ae46759d949a25b495c8d814e489752bed8e
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/61eb15c8e9a3505dab4ed90083b07633012ad5
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/cdf5cebb7be513db94f90b03a8b0b259c844ff
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/c99c9bea638b8b51792e3a516bcbab870e0875
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/61eb237a4bb03cada11ee9ecc49d8b6a3f5433
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/b757de9b68c6208cb2889aed6a503f7aa39a29
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/0c12d722c18eca0106ff089b75529390386e45
/usr/lib/libsundials_arkode.so.1
/usr/lib/libsundials_arkode.so.1.1.0
/usr/lib/libsundials_cvode.so.2
/usr/lib/libsundials_cvode.so.2.9.0
/usr/lib/libsundials_cvodes.so.2
/usr/lib/libsundials_cvodes.so.2.9.0
/usr/lib/libsundials_fnvecopenmp.so.2
/usr/lib/libsundials_fnvecopenmp.so.2.7.0
/usr/lib/libsundials_fnvecpthreads.so.2
/usr/lib/libsundials_fnvecpthreads.so.2.7.0
/usr/lib/libsundials_fnvecserial.so.2
/usr/lib/libsundials_fnvecserial.so.2.7.0
/usr/lib/libsundials_ida.so.2
/usr/lib/libsundials_ida.so.2.9.0
/usr/lib/libsundials_idas.so.1
/usr/lib/libsundials_idas.so.1.3.0
/usr/lib/libsundials_kinsol.so.2
/usr/lib/libsundials_kinsol.so.2.9.0
/usr/lib/libsundials_nvecopenmp.so.2
/usr/lib/libsundials_nvecopenmp.so.2.7.0
/usr/lib/libsundials_nvecpthreads.so.2
/usr/lib/libsundials_nvecpthreads.so.2.7.0
/usr/lib/libsundials_nvecserial.so.2
/usr/lib/libsundials_nvecserial.so.2.7.0
/usr/share/doc/sundials2
/usr/share/doc/sundials2/README
/usr/share/doc/sundials2/README-arkode
/usr/share/doc/sundials2/README-cvode
/usr/share/doc/sundials2/README-cvodes
/usr/share/doc/sundials2/README-ida
/usr/share/doc/sundials2/README-kinsol
/usr/share/doc/sundials2/README-nvec_par
/usr/share/doc/sundials2/README-nvec_pthreads
/usr/share/doc/sundials2/README-nvec_ser
/usr/share/licenses/sundials2
/usr/share/licenses/sundials2/LICENSE

References

Summary

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