How to Install and Uninstall libpetsc-real3.18 Package on Debian 12 (Bookworm)

Last updated: February 28,2025

1. Install "libpetsc-real3.18" package

This guide covers the steps necessary to install libpetsc-real3.18 on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install libpetsc-real3.18

2. Uninstall "libpetsc-real3.18" package

Here is a brief guide to show you how to uninstall libpetsc-real3.18 on Debian 12 (Bookworm):

$ sudo apt remove libpetsc-real3.18 $ sudo apt autoclean && sudo apt autoremove

3. Information about the libpetsc-real3.18 package on Debian 12 (Bookworm)

Package: libpetsc-real3.18
Source: petsc
Version: 3.18.5+dfsg1-1
Installed-Size: 21079
Maintainer: Debian Science Maintainers
Architecture: amd64
Replaces: libpetsc3.6 (<< 3.6.2.dfsg1-4)
Provides: libpetsc3.18
Depends: libamd2 (>= 1:5.6.0), libblas3 | libblas.so.3, libc6 (>= 2.34), libcholmod3 (>= 1:5.6.0), libfftw3-double3 (>= 3.3.10), libfftw3-mpi3 (>= 3.3.10), libgcc-s1 (>= 4.0), libgfortran5 (>= 10), libhdf5-openmpi-103-1 (>= 1.10.5), libhypre-2.26.0 (>= 2.26.0), libklu1 (>= 1:5.6.0), liblapack3 | liblapack.so.3, libmumps-5.5 (>= 5.5.1), libopenmpi3 (>= 4.1.4), libptscotch-7.0 (>= 7.0.3), libscalapack-openmpi2.2 (>= 2.2.1), libspqr2 (>= 1:5.12.0+dfsg), libstdc++6 (>= 11), libsuperlu-dist8 (>= 8.1.2+dfsg1), libsuperlu5 (>= 5.3.0+dfsg1), libtrilinos-ml-13.2 (>= 13.2.0), libumfpack5 (>= 1:5.6.0), libx11-6, libyaml-0-2, ocl-icd-libopencl1 | libopencl1
Conflicts: libpetsc3.6 (<< 3.6.2.dfsg1-4)
Breaks: libpetsc-real3.10, libpetsc3.10-dev-common, libpetsc3.10-dev-examples, libslepc-real3.10
Description: Shared libraries for version 3.18 of PETSc
Description-md5: 97ccdcf91b83a0d9072cbe1c799d17c8
Multi-Arch: same
Homepage: http://www.mcs.anl.gov/petsc
Tag: role::shared-lib
Section: libs
Priority: optional
Filename: pool/main/p/petsc/libpetsc-real3.18_3.18.5+dfsg1-1_amd64.deb
Size: 6699032
MD5sum: fb1aa026ba31d1594d0b5b539cc08ccc
SHA256: 7a04c23cf3709a9df7bfc07f7b644c9395949e22f937a683fdb7d8484b802caa