How To Install sundials on Fedora 34

sundials is Suite of nonlinear solvers Suite of nonlinear solvers

Introduction

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

What is sundials

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. sundials 5.6.1 3.fc34 x86_64 1.0 M sundials-5.6.1-3.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 sundials on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install sundials.

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

sudo dnf -y install sundials

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

sudo yum -y install sundials

How To Uninstall sundials on Fedora 34

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

sudo dnf remove sundials

sundials Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/e6cb3a70fb6111f9813001e2c049957bb68609
/usr/lib/.build-id/05
/usr/lib/.build-id/05/3bb93fa1809ae8f6878260adc6a96246be44ea
/usr/lib/.build-id/07
/usr/lib/.build-id/07/f6559abd17f5bd41071de043f489ed3c77ef8c
/usr/lib/.build-id/09
/usr/lib/.build-id/09/f4515cf6e8a6e2870ab85772a37c8774811d2c
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/5a1ed4e1b5d6cb6b6fe942c8f486c149b73bb6
/usr/lib/.build-id/0c/947cbd6ce147b8fe56ba521e90afc4186353da
/usr/lib/.build-id/17
/usr/lib/.build-id/17/cccd1bb08029814e15decb8572a582524cc22f
/usr/lib/.build-id/22
/usr/lib/.build-id/22/91569592832868290204c00f27aef52c8673c4
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/8865eeb386ef1a9a7bbb44ec395cf13f5ea181
/usr/lib/.build-id/2b
/usr/lib/.build-id/2b/085b0c3781278252c6b9b67180a9b5fbafd909
/usr/lib/.build-id/32
/usr/lib/.build-id/32/6317265ff33809a835081f42c813fd10b3f580
/usr/lib/.build-id/32/7ef6a6baec3af737fee1b230c0b09bc594e901
/usr/lib/.build-id/35
/usr/lib/.build-id/35/cb0dae2784fae1ca76ac531670aa2dcaa487d3
/usr/lib/.build-id/36
/usr/lib/.build-id/36/6bc16487b8d8d29a0e0c959621d7b60780ff15
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/d6217105c78603fc25f3756a0e3d3862742ea8
/usr/lib/.build-id/41
/usr/lib/.build-id/41/7d10d467d55af9e7e756ae6f087e06152b3a84
/usr/lib/.build-id/42
/usr/lib/.build-id/42/418683a7b34343b8b4e6e8b65c730d19d1d96c
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/b77d6a02e4525a7ff1abf5471ac91ce5e377a0
/usr/lib/.build-id/50
/usr/lib/.build-id/50/097a106f741592fe58cfbc86852b7ebc3ab987
/usr/lib/.build-id/51
/usr/lib/.build-id/51/57f15042841c72e803aeaab42dc53839b793d9
/usr/lib/.build-id/51/b2f68f776e9b48bb62cee2e629a5b2df35eaed
/usr/lib/.build-id/55
/usr/lib/.build-id/55/1af962dd9cabc2a390a05fa23768120dfd2070
/usr/lib/.build-id/55/a87f85907971b039cdb1b4a798cdaa4c150898
/usr/lib/.build-id/56
/usr/lib/.build-id/56/19f32f3d6aee35ce7d0cf2ee15a97024aa046c
/usr/lib/.build-id/57
/usr/lib/.build-id/57/12197969578dba79d249520dcbefc9cad11d0c
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/8e737c96d108d83ee3d64a9af758fd721d98a9
/usr/lib/.build-id/5b/bf821efe463b90671b63d4861bc9dd8ddae50d
/usr/lib/.build-id/68
/usr/lib/.build-id/68/e4f545770c0c1c9c4b5b20dde3f79bd38a998b
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/fbdef3059f9db52fea5a24e8f03b3e5f0f877b
/usr/lib/.build-id/77
/usr/lib/.build-id/77/6f4d9597f734f4fdd93edbf62624df1632cdbe
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/41824e0537ac3333fa6338b0dbf3f7d85a320c
/usr/lib/.build-id/7a/e0abab78331edb33e315441db8699aea209e2f
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/9d043a1098b7c50fc84f6f717454028b75ba50
/usr/lib/.build-id/7d/bc54a18eeab4b7c652305079fa705af07ae25c
/usr/lib/.build-id/86
/usr/lib/.build-id/86/df8e64f61ad6fbcb62a5c780e66a31d0378290
/usr/lib/.build-id/88
/usr/lib/.build-id/88/037e6d52afe09d5b5584c3aace5afe7b36525d
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/33a57be13ae10f29780156459f9907e688b0eb
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/33a591387c9cb6e42ec6a62fcf6f20909a314c
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/74058daa21059b287e73acb77236f8235c501e
/usr/lib/.build-id/91
/usr/lib/.build-id/91/dd20f52b5cbe8861df62b512126b6b544cb38b
/usr/lib/.build-id/98
/usr/lib/.build-id/98/05e03f0b57c68e83d60535ece4e450bbf0add8
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/f621bda0356a9ff06a1d3a1b25d2ccf5c4c5d6
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/82b9327b37c18942402c4f6cd4781cb5dca21a
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/858f1b0161eed312cb88de5e2c04769aa7c04b
/usr/lib/.build-id/ae/a89b228ed0c3815ba7001ff1034044427d6265
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/d6bba845715a5187925502278ec755f2196ec1
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/832356893cd32b7a2da7cbcbd8f88af4f0b259
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/651ae63f1d7a63bac1946bad91b8713a61b6d5
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/e666caebc8317335294a6058d08f5018dad5dd
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/f4bb24d219e5ff53c3a3b5e295776cffd5ff7b
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/fcd85efb68c83341e2ea2374041f326bc81261
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/3b4fe5472ea7e421e5df771c59a1ee85c24a3e
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/c7b8bfb0eecd2239579aa33d9c3e2c66f7784a
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/5e13bdee51ffff1504225f66fa67614ed25bd8
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/1d02994b802220cd53d9cb62346cecb91e1f40
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/8c02e36e7c766bc04ea3b672267ec74d9d86dd
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/e118ed284e833c7cb2768560aff4ce77e4725c
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/f6a77b1b8184f49d5bd290004e205c7f9b3c2d
/usr/lib64/libsundials_arkode.so.4
/usr/lib64/libsundials_arkode.so.4.6.1
/usr/lib64/libsundials_cvode.so.5
/usr/lib64/libsundials_cvode.so.5.6.1
/usr/lib64/libsundials_cvodes.so.5
/usr/lib64/libsundials_cvodes.so.5.6.1
/usr/lib64/libsundials_farkode_mod.so.4
/usr/lib64/libsundials_farkode_mod.so.4.6.1
/usr/lib64/libsundials_fcvode_mod.so.5
/usr/lib64/libsundials_fcvode_mod.so.5.6.1
/usr/lib64/libsundials_fcvodes_mod.so.5
/usr/lib64/libsundials_fcvodes_mod.so.5.6.1
/usr/lib64/libsundials_fida_mod.so.5
/usr/lib64/libsundials_fida_mod.so.5.6.1
/usr/lib64/libsundials_fidas_mod.so.4
/usr/lib64/libsundials_fidas_mod.so.4.6.1
/usr/lib64/libsundials_fkinsol_mod.so.5
/usr/lib64/libsundials_fkinsol_mod.so.5.6.1
/usr/lib64/libsundials_fnvecmanyvector_mod.so.5
/usr/lib64/libsundials_fnvecmanyvector_mod.so.5.6.1
/usr/lib64/libsundials_fnvecopenmp.so.5
/usr/lib64/libsundials_fnvecopenmp.so.5.6.1
/usr/lib64/libsundials_fnvecopenmp_mod.so.5
/usr/lib64/libsundials_fnvecopenmp_mod.so.5.6.1
/usr/lib64/libsundials_fnvecserial.so.5
/usr/lib64/libsundials_fnvecserial.so.5.6.1
/usr/lib64/libsundials_fnvecserial_mod.so.5
/usr/lib64/libsundials_fnvecserial_mod.so.5.6.1
/usr/lib64/libsundials_fsunlinsolband.so.3
/usr/lib64/libsundials_fsunlinsolband.so.3.6.1
/usr/lib64/libsundials_fsunlinsolband_mod.so.3
/usr/lib64/libsundials_fsunlinsolband_mod.so.3.6.1
/usr/lib64/libsundials_fsunlinsoldense.so.3
/usr/lib64/libsundials_fsunlinsoldense.so.3.6.1
/usr/lib64/libsundials_fsunlinsoldense_mod.so.3
/usr/lib64/libsundials_fsunlinsoldense_mod.so.3.6.1
/usr/lib64/libsundials_fsunlinsolklu.so.3
/usr/lib64/libsundials_fsunlinsolklu.so.3.6.1
/usr/lib64/libsundials_fsunlinsolklu_mod.so.3
/usr/lib64/libsundials_fsunlinsolklu_mod.so.3.6.1
/usr/lib64/libsundials_fsunlinsolpcg.so.3
/usr/lib64/libsundials_fsunlinsolpcg.so.3.6.1
/usr/lib64/libsundials_fsunlinsolpcg_mod.so.3
/usr/lib64/libsundials_fsunlinsolpcg_mod.so.3.6.1
/usr/lib64/libsundials_fsunlinsolspbcgs.so.3
/usr/lib64/libsundials_fsunlinsolspbcgs.so.3.6.1
/usr/lib64/libsundials_fsunlinsolspbcgs_mod.so.3
/usr/lib64/libsundials_fsunlinsolspbcgs_mod.so.3.6.1
/usr/lib64/libsundials_fsunlinsolspfgmr.so.3
/usr/lib64/libsundials_fsunlinsolspfgmr.so.3.6.1
/usr/lib64/libsundials_fsunlinsolspfgmr_mod.so.3
/usr/lib64/libsundials_fsunlinsolspfgmr_mod.so.3.6.1
/usr/lib64/libsundials_fsunlinsolspgmr.so.3
/usr/lib64/libsundials_fsunlinsolspgmr.so.3.6.1
/usr/lib64/libsundials_fsunlinsolspgmr_mod.so.3
/usr/lib64/libsundials_fsunlinsolspgmr_mod.so.3.6.1
/usr/lib64/libsundials_fsunlinsolsptfqmr.so.3
/usr/lib64/libsundials_fsunlinsolsptfqmr.so.3.6.1
/usr/lib64/libsundials_fsunlinsolsptfqmr_mod.so.3
/usr/lib64/libsundials_fsunlinsolsptfqmr_mod.so.3.6.1
/usr/lib64/libsundials_fsunmatrixband.so.3
/usr/lib64/libsundials_fsunmatrixband.so.3.6.1
/usr/lib64/libsundials_fsunmatrixband_mod.so.3
/usr/lib64/libsundials_fsunmatrixband_mod.so.3.6.1
/usr/lib64/libsundials_fsunmatrixdense.so.3
/usr/lib64/libsundials_fsunmatrixdense.so.3.6.1
/usr/lib64/libsundials_fsunmatrixdense_mod.so.3
/usr/lib64/libsundials_fsunmatrixdense_mod.so.3.6.1
/usr/lib64/libsundials_fsunmatrixsparse.so.3
/usr/lib64/libsundials_fsunmatrixsparse.so.3.6.1
/usr/lib64/libsundials_fsunmatrixsparse_mod.so.3
/usr/lib64/libsundials_fsunmatrixsparse_mod.so.3.6.1
/usr/lib64/libsundials_fsunnonlinsolfixedpoint_mod.so.2
/usr/lib64/libsundials_fsunnonlinsolfixedpoint_mod.so.2.6.1
/usr/lib64/libsundials_fsunnonlinsolnewton_mod.so.2
/usr/lib64/libsundials_fsunnonlinsolnewton_mod.so.2.6.1
/usr/lib64/libsundials_generic.so.5
/usr/lib64/libsundials_generic.so.5.6.1
/usr/lib64/libsundials_ida.so.5
/usr/lib64/libsundials_ida.so.5.6.1
/usr/lib64/libsundials_idas.so.4
/usr/lib64/libsundials_idas.so.4.6.1
/usr/lib64/libsundials_kinsol.so.5
/usr/lib64/libsundials_kinsol.so.5.6.1
/usr/lib64/libsundials_nvecmanyvector.so.5
/usr/lib64/libsundials_nvecmanyvector.so.5.6.1
/usr/lib64/libsundials_nvecopenmp.so.5
/usr/lib64/libsundials_nvecopenmp.so.5.6.1
/usr/lib64/libsundials_nvecserial.so.5
/usr/lib64/libsundials_nvecserial.so.5.6.1
/usr/lib64/libsundials_sunlinsolband.so.3.6.1
/usr/lib64/libsundials_sunlinsoldense.so.3.6.1
/usr/lib64/libsundials_sunlinsolklu.so.3.6.1
/usr/lib64/libsundials_sunlinsolpcg.so.3.6.1
/usr/lib64/libsundials_sunlinsolspbcgs.so.3.6.1
/usr/lib64/libsundials_sunlinsolspfgmr.so.3.6.1
/usr/lib64/libsundials_sunlinsolspgmr.so.3.6.1
/usr/lib64/libsundials_sunlinsolsptfqmr.so.3.6.1
/usr/lib64/libsundials_sunmatrixband.so.3
/usr/lib64/libsundials_sunmatrixband.so.3.6.1
/usr/lib64/libsundials_sunmatrixdense.so.3
/usr/lib64/libsundials_sunmatrixdense.so.3.6.1
/usr/lib64/libsundials_sunmatrixsparse.so.3
/usr/lib64/libsundials_sunmatrixsparse.so.3.6.1
/usr/lib64/libsundials_sunnonlinsolfixedpoint.so.2.6.1
/usr/lib64/libsundials_sunnonlinsolnewton.so.2.6.1
/usr/share/doc/sundials
/usr/share/doc/sundials/NOTICE
/usr/share/doc/sundials/README-arkode.md
/usr/share/doc/sundials/README-cvode.md
/usr/share/doc/sundials/README-cvodes.md
/usr/share/doc/sundials/README-ida.md
/usr/share/doc/sundials/README-kinsol.md
/usr/share/doc/sundials/README.idas.md
/usr/share/doc/sundials/README.md
/usr/share/licenses/sundials
/usr/share/licenses/sundials/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/07
/usr/lib/.build-id/07/9e656041091b0c8cc6e2eae3b4aae51dd62696
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/3b93ca7bf70f1a4a1f0e7ff42e7fd42a9ab1de
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/58051ffd5f1e3075113604726b23a6a333fdb0
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/6a7eb1e357d33110160034abed9e9a9a301d20
/usr/lib/.build-id/24
/usr/lib/.build-id/24/424d9254045dc271ec2526b1b682fb5f10d759
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/e61bdbe6f3a87b41be1a6235b950ad08f566cb
/usr/lib/.build-id/58
/usr/lib/.build-id/58/72d64d24eda155f5fd941479fb440c4779d491
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/60118ecf9fbab818b6d5d662964d4b22261dc1
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/0301891cc250b8f54eea5ea1133e0adf0e3282
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/0dea321354161d890a9355756dfebeaa89b435
/usr/lib/.build-id/72
/usr/lib/.build-id/72/194ea455e230964dfbddddcb94263311f33a46
/usr/lib/.build-id/72/9db4c8004fca5c59f93e511c74b45cbfd1d4cb
/usr/lib/.build-id/74
/usr/lib/.build-id/74/5a3086577d8098363d6ab3099590a7a155b840
/usr/lib/.build-id/85
/usr/lib/.build-id/85/e2980f4390d883989bde8ac8f3d9a7ef5508e4
/usr/lib/.build-id/95
/usr/lib/.build-id/95/2c70881cc2d6f91884bbd3145d22ddd3862fb1
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/73ffdf88e4f1a0f5297d263573e244bb5d826c
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/eca23aa77fc44730bca3f8ba233ead3e30a7d6
/usr/lib/.build-id/df
/usr/lib/.build-id/df/8ca54c19c33c5423c3e1f2a2a0849ed0a77bd7
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/a37d387954dc191851537a2ba58559cb414a07
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/7ae42b5232d1374b51b9192efa53aedc4496a5
/usr/lib/.build-id/fd
/usr/lib/.build-id/fd/9a29d066035072a3993cb260fb3305b66f29ee
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/d5b5e515a4230b848a71318dea4df08954c361
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/e66fddda82230ca4189347f36c6f35ded82033
/usr/lib/libsundials_arkode.so.4
/usr/lib/libsundials_arkode.so.4.6.1
/usr/lib/libsundials_cvode.so.5
/usr/lib/libsundials_cvode.so.5.6.1
/usr/lib/libsundials_cvodes.so.5
/usr/lib/libsundials_cvodes.so.5.6.1
/usr/lib/libsundials_generic.so.5
/usr/lib/libsundials_generic.so.5.6.1
/usr/lib/libsundials_ida.so.5
/usr/lib/libsundials_ida.so.5.6.1
/usr/lib/libsundials_idas.so.4
/usr/lib/libsundials_idas.so.4.6.1
/usr/lib/libsundials_kinsol.so.5
/usr/lib/libsundials_kinsol.so.5.6.1
/usr/lib/libsundials_nvecmanyvector.so.5
/usr/lib/libsundials_nvecmanyvector.so.5.6.1
/usr/lib/libsundials_nvecopenmp.so.5
/usr/lib/libsundials_nvecopenmp.so.5.6.1
/usr/lib/libsundials_nvecserial.so.5
/usr/lib/libsundials_nvecserial.so.5.6.1
/usr/lib/libsundials_sunlinsolband.so.3.6.1
/usr/lib/libsundials_sunlinsoldense.so.3.6.1
/usr/lib/libsundials_sunlinsolklu.so.3.6.1
/usr/lib/libsundials_sunlinsolpcg.so.3.6.1
/usr/lib/libsundials_sunlinsolspbcgs.so.3.6.1
/usr/lib/libsundials_sunlinsolspfgmr.so.3.6.1
/usr/lib/libsundials_sunlinsolspgmr.so.3.6.1
/usr/lib/libsundials_sunlinsolsptfqmr.so.3.6.1
/usr/lib/libsundials_sunmatrixband.so.3
/usr/lib/libsundials_sunmatrixband.so.3.6.1
/usr/lib/libsundials_sunmatrixdense.so.3
/usr/lib/libsundials_sunmatrixdense.so.3.6.1
/usr/lib/libsundials_sunmatrixsparse.so.3
/usr/lib/libsundials_sunmatrixsparse.so.3.6.1
/usr/lib/libsundials_sunnonlinsolfixedpoint.so.2.6.1
/usr/lib/libsundials_sunnonlinsolnewton.so.2.6.1
/usr/share/doc/sundials
/usr/share/doc/sundials/NOTICE
/usr/share/doc/sundials/README-arkode.md
/usr/share/doc/sundials/README-cvode.md
/usr/share/doc/sundials/README-cvodes.md
/usr/share/doc/sundials/README-ida.md
/usr/share/doc/sundials/README-kinsol.md
/usr/share/doc/sundials/README.idas.md
/usr/share/doc/sundials/README.md
/usr/share/licenses/sundials
/usr/share/licenses/sundials/LICENSE

References

Summary

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