How to Install and Uninstall python3-petsc4py Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 26,2024

1. Install "python3-petsc4py" package

This tutorial shows how to install python3-petsc4py on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install python3-petsc4py

2. Uninstall "python3-petsc4py" package

This is a short guide on how to uninstall python3-petsc4py on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the python3-petsc4py package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: python3-petsc4py
Architecture: amd64
Version: 3.7.0-3build2
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: 2989
Depends: python3 (<< 3.7), python3 (>= 3.6~), python3-numpy (>= 1:1.10.0~b1), python3-numpy-abi9, python3:any (>= 3.3.2-2~), libc6 (>= 2.14), libgcc1 (>= 1:3.0), libopenmpi2, libpetsc3.7, libstdc++6 (>= 4.1.1)
Recommends: python-petsc4py-docs
Filename: pool/universe/p/petsc4py/python3-petsc4py_3.7.0-3build2_amd64.deb
Size: 718758
MD5sum: 3b2492702b9e0229a599d881de94ed82
SHA1: e535917a6e1942a7caf72edcf5a7da2f782b9f80
SHA256: 6572d85caeeeefc5bea6793b8d140c402498d2ef871d2e3b05e5b9ec9c23cd0c
Homepage: https://bitbucket.org/petsc/petsc4py
Description: Python 3 bindings for PETSc libraries
Description-md5: 9d34d1b1acb05f0b67037f5700e3322f
Python-Version: 3.6