How to Install and Uninstall petsc-dev Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 07,2024

1. Install "petsc-dev" package

Please follow the steps below to install petsc-dev on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install petsc-dev

2. Uninstall "petsc-dev" package

This guide let you learn how to uninstall petsc-dev on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove petsc-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the petsc-dev package on Ubuntu 20.04 LTS (Focal Fossa)

Package: petsc-dev
Architecture: all
Version: 3.12.4+dfsg1-1
Priority: extra
Section: universe/libdevel
Source: petsc
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Science Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 40
Depends: libpetsc-real-dev
Filename: pool/universe/p/petsc/petsc-dev_3.12.4+dfsg1-1_all.deb
Size: 7156
MD5sum: f60c44749284edf1d0e447c4f10585d0
SHA1: d751787976762b7d41bd3fc3cc4b4e3e7af68b5f
SHA256: f89688acec998eff52dcb1cb6b58dc9568a7aa44892a975eb4bf0e48b27914d9
Homepage: http://www.mcs.anl.gov/petsc
Description: Virtual package depending on latest PETSc development package
Description-md5: 3f2d51ee4293c9884962bdd029114979