How to Install and Uninstall python3-petsc4py Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: September 20,2024

1. Install "python3-petsc4py" package

Please follow the instructions below to install python3-petsc4py on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install python3-petsc4py

2. Uninstall "python3-petsc4py" package

Please follow the steps below to uninstall python3-petsc4py on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the python3-petsc4py package on Ubuntu 20.04 LTS (Focal Fossa)

Package: python3-petsc4py
Architecture: all
Version: 3.12.0-4build1
Priority: extra
Section: universe/python
Source: petsc4py
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Science Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 16
Depends: python3-petsc4py-real | python3-petsc4py-complex
Recommends: python-petsc4py-doc
Filename: pool/universe/p/petsc4py/python3-petsc4py_3.12.0-4build1_all.deb
Size: 2932
MD5sum: 72c64c951fba3f1ce4b147ed8979aadd
SHA1: 82058ec0aa993cfb41b14b16c9253f5f1dfe4c4a
SHA256: 9e9c141b2ca4dca308896c14ba375cf00f9e03e016413fb7dbc7fa9630ae5c71
Homepage: https://bitbucket.org/petsc/petsc4py
Description: Python 3 bindings for PETSc libraries
Description-md5: 977c5bad930b4c8b4984aff6e288663f