How to Install and Uninstall python-petsc4py Package on Debian 10 (Buster)

Last updated: December 24,2024

1. Install "python-petsc4py" package

Please follow the instructions below to install python-petsc4py on Debian 10 (Buster)

$ sudo apt update $ sudo apt install python-petsc4py

2. Uninstall "python-petsc4py" package

This is a short guide on how to uninstall python-petsc4py on Debian 10 (Buster):

$ sudo apt remove python-petsc4py $ sudo apt autoclean && sudo apt autoremove

3. Information about the python-petsc4py package on Debian 10 (Buster)

Package: python-petsc4py
Source: petsc4py
Version: 3.10.1-1
Installed-Size: 3235
Maintainer: Debian Science Maintainers
Architecture: amd64
Replaces: python-petsc
Provides: python2.7-petsc4py
Depends: swig, python (<< 2.8), python (>= 2.7~), python-numpy (>= 1:1.16.0~rc1), python-numpy-abi9, python:any (<< 2.8), python:any (>= 2.7~), libc6 (>= 2.14), libopenmpi3, libpetsc-real3.10 (>= 3.10.3+dfsg1)
Recommends: python-petsc4py-docs
Conflicts: python-petsc
Description: Python 2 bindings for PETSc libraries
Description-md5: 013929d52dd5546602d3bd6288dd2182
Homepage: https://bitbucket.org/petsc/petsc4py
Python-Version: 2.7
Section: python
Priority: optional
Filename: pool/main/p/petsc4py/python-petsc4py_3.10.1-1_amd64.deb
Size: 779708
MD5sum: 29842f47e15c3b9ec8abea63a63fe75b
SHA256: e632f5601fbd473aa26c21e21f9a1fcc079ebacc0819034b6affa3dc9ecc2f6f

5. The same packages on other Linux Distributions