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

Last updated: December 30,2024

1. Install "python-petsc4py" package

Please follow the guidelines below to install python-petsc4py on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install python-petsc4py

2. Uninstall "python-petsc4py" package

Please follow the guidelines below to uninstall python-petsc4py on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: python-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: 3005
Provides: python2.7-petsc4py
Depends: python (<< 2.8), python (>= 2.7~), python-numpy (>= 1:1.10.0~b1), python-numpy-abi9, python:any (<< 2.8), python:any (>= 2.7.5-5~), libc6 (>= 2.14), libgcc1 (>= 1:3.0), libopenmpi2, libpetsc3.7, libstdc++6 (>= 4.1.1)
Recommends: python-petsc4py-docs
Conflicts: python-petsc
Replaces: python-petsc
Filename: pool/universe/p/petsc4py/python-petsc4py_3.7.0-3build2_amd64.deb
Size: 724918
MD5sum: 3a6c19a63bb3ec440ada6f3d7c506b1c
SHA1: d7459664b2ac56fb39daa7c8c8d68ccaa6c9d8ac
SHA256: b18af74d06493b3c6845350b2817632a8064c9164bc3462a343f57478623608f
Homepage: https://bitbucket.org/petsc/petsc4py
Description: Python 2 bindings for PETSc libraries
Description-md5: dab9afc073045aa87b864c2285f22650
Python-Version: 2.7

5. The same packages on other Linux Distributions