How to Install and Uninstall petsc-dev Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 06,2024

1. Install "petsc-dev" package

Please follow the instructions below to install petsc-dev on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install petsc-dev

2. Uninstall "petsc-dev" package

Please follow the guidance below to uninstall petsc-dev on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the petsc-dev package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: petsc-dev
Architecture: all
Version: 3.7.7+dfsg1-2build5
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: 31
Depends: libpetsc3.7-dev
Suggests: libpetsc3.7.7-dbg
Filename: pool/universe/p/petsc/petsc-dev_3.7.7+dfsg1-2build5_all.deb
Size: 5092
MD5sum: c3dae514cae7a1afc92d97fb4eff3fbc
SHA1: 5575f6902243e4ce9d30621a5599547251958204
SHA256: 0a37713022ef4ed43857bc8a70926cb5ad1b5230597af9a9010695f26c0d0b52
Homepage: http://www.mcs.anl.gov/petsc
Description: Virtual package depending on latest PETSc development package
Description-md5: e77ffa65782a9dd9665c29d7753e1807