How To Install petsc64-devel on Rocky Linux 8

In this tutorial we learn how to install petsc64-devel on Rocky Linux 8. petsc64-devel is Portable Extensible Toolkit for Scientific Computation (64bit INTEGER)

Introduction

In this tutorial we learn how to install petsc64-devel on Rocky Linux 8.

What is petsc64-devel

Portable Extensible Toolkit for Scientific Computation (developer files) (64bit INTEGER).

We can use yum or dnf to install petsc64-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install petsc64-devel.

Install petsc64-devel on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install petsc64-devel using dnf by running the following command:

sudo dnf -y install petsc64-devel

Install petsc64-devel on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install petsc64-devel using yum by running the following command:

sudo yum -y install petsc64-devel

How To Uninstall petsc64-devel on Rocky Linux 8

To uninstall only the petsc64-devel package we can use the following command:

sudo dnf remove petsc64-devel

petsc64-devel Package Contents on Rocky Linux 8

/usr/include/petsc64
/usr/include/petsc64/makefile
/usr/include/petsc64/petsc
/usr/include/petsc64/petsc.h
/usr/include/petsc64/petsc/finclude
/usr/include/petsc64/petsc/finclude/makefile
/usr/include/petsc64/petsc/finclude/petsc.h
/usr/include/petsc64/petsc/finclude/petscao.h
/usr/include/petsc64/petsc/finclude/petscbag.h
/usr/include/petsc64/petsc/finclude/petscdm.h
/usr/include/petsc64/petsc/finclude/petscdmda.h
/usr/include/petsc64/petsc/finclude/petscdmlabel.h
/usr/include/petsc64/petsc/finclude/petscdmnetwork.h
/usr/include/petsc64/petsc/finclude/petscdmplex.h
/usr/include/petsc64/petsc/finclude/petscdraw.h
/usr/include/petsc64/petsc/finclude/petscerror.h
/usr/include/petsc64/petsc/finclude/petscis.h
/usr/include/petsc64/petsc/finclude/petscksp.h
/usr/include/petsc64/petsc/finclude/petsclog.h
/usr/include/petsc64/petsc/finclude/petscmat.h
/usr/include/petsc64/petsc/finclude/petscpc.h
/usr/include/petsc64/petsc/finclude/petscsnes.h
/usr/include/petsc64/petsc/finclude/petscsnesfas.h
/usr/include/petsc64/petsc/finclude/petscsys.h
/usr/include/petsc64/petsc/finclude/petsctao.h
/usr/include/petsc64/petsc/finclude/petscts.h
/usr/include/petsc64/petsc/finclude/petscvec.h
/usr/include/petsc64/petsc/finclude/petscviewer.h
/usr/include/petsc64/petsc/mpiuni
/usr/include/petsc64/petsc/mpiuni/mpi.h
/usr/include/petsc64/petsc/mpiuni/mpif.h
/usr/include/petsc64/petsc/mpiuni/mpiunifdef.h
/usr/include/petsc64/petsc/private
/usr/include/petsc64/petsc/private/bagimpl.h
/usr/include/petsc64/petsc/private/characteristicimpl.h
/usr/include/petsc64/petsc/private/dmadaptorimpl.h
/usr/include/petsc64/petsc/private/dmdaimpl.h
/usr/include/petsc64/petsc/private/dmfieldimpl.h
/usr/include/petsc64/petsc/private/dmforestimpl.h
/usr/include/petsc64/petsc/private/dmimpl.h
/usr/include/petsc64/petsc/private/dmlabelimpl.h
/usr/include/petsc64/petsc/private/dmmbimpl.h
/usr/include/petsc64/petsc/private/dmnetworkimpl.h
/usr/include/petsc64/petsc/private/dmpatchimpl.h
/usr/include/petsc64/petsc/private/dmpleximpl.h
/usr/include/petsc64/petsc/private/dmproductimpl.h
/usr/include/petsc64/petsc/private/dmstagimpl.h
/usr/include/petsc64/petsc/private/dmswarmimpl.h
/usr/include/petsc64/petsc/private/drawimpl.h
/usr/include/petsc64/petsc/private/dtimpl.h
/usr/include/petsc64/petsc/private/f90impl.h
/usr/include/petsc64/petsc/private/fortranimpl.h
/usr/include/petsc64/petsc/private/glvisvecimpl.h
/usr/include/petsc64/petsc/private/glvisviewerimpl.h
/usr/include/petsc64/petsc/private/hashmap.h
/usr/include/petsc64/petsc/private/hashmapi.h
/usr/include/petsc64/petsc/private/hashmapij.h
/usr/include/petsc64/petsc/private/hashset.h
/usr/include/petsc64/petsc/private/hashseti.h
/usr/include/petsc64/petsc/private/hashsetij.h
/usr/include/petsc64/petsc/private/hashtable.h
/usr/include/petsc64/petsc/private/isimpl.h
/usr/include/petsc64/petsc/private/kernels
/usr/include/petsc64/petsc/private/kernels/blockinvert.h
/usr/include/petsc64/petsc/private/kernels/blockmatmult.h
/usr/include/petsc64/petsc/private/kernels/blocktranspose.h
/usr/include/petsc64/petsc/private/kernels/khash.h
/usr/include/petsc64/petsc/private/kernels/petscaxpy.h
/usr/include/petsc64/petsc/private/kspimpl.h
/usr/include/petsc64/petsc/private/linesearchimpl.h
/usr/include/petsc64/petsc/private/logimpl.h
/usr/include/petsc64/petsc/private/makefile
/usr/include/petsc64/petsc/private/matimpl.h
/usr/include/petsc64/petsc/private/matorderimpl.h
/usr/include/petsc64/petsc/private/pcgamgimpl.h
/usr/include/petsc64/petsc/private/pcimpl.h
/usr/include/petsc64/petsc/private/pcmgimpl.h
/usr/include/petsc64/petsc/private/pcpatchimpl.h
/usr/include/petsc64/petsc/private/petscconvestimpl.h
/usr/include/petsc64/petsc/private/petscdsimpl.h
/usr/include/petsc64/petsc/private/petscfeimpl.h
/usr/include/petsc64/petsc/private/petscfptimpl.h
/usr/include/petsc64/petsc/private/petscfvimpl.h
/usr/include/petsc64/petsc/private/petscimpl.h
/usr/include/petsc64/petsc/private/sfimpl.h
/usr/include/petsc64/petsc/private/snesimpl.h
/usr/include/petsc64/petsc/private/taoimpl.h
/usr/include/petsc64/petsc/private/taolinesearchimpl.h
/usr/include/petsc64/petsc/private/tshistoryimpl.h
/usr/include/petsc64/petsc/private/tsimpl.h
/usr/include/petsc64/petsc/private/vecimpl.h
/usr/include/petsc64/petsc/private/vecscatterimpl.h
/usr/include/petsc64/petsc/private/vieweradios2impl.h
/usr/include/petsc64/petsc/private/vieweradiosimpl.h
/usr/include/petsc64/petsc/private/viewerimpl.h
/usr/include/petsc64/petscao.h
/usr/include/petsc64/petscbag.h
/usr/include/petsc64/petscblaslapack.h
/usr/include/petsc64/petscblaslapack_mangle.h
/usr/include/petsc64/petscblaslapack_stdcall.h
/usr/include/petsc64/petscbt.h
/usr/include/petsc64/petsccharacteristic.h
/usr/include/petsc64/petscconf.h
/usr/include/petsc64/petscconfiginfo.h
/usr/include/petsc64/petscconvest.h
/usr/include/petsc64/petscctable.h
/usr/include/petsc64/petsccuda.h
/usr/include/petsc64/petscdm.h
/usr/include/petsc64/petscdmadaptor.h
/usr/include/petsc64/petscdmcomposite.h
/usr/include/petsc64/petscdmda.h
/usr/include/petsc64/petscdmdatypes.h
/usr/include/petsc64/petscdmfield.h
/usr/include/petsc64/petscdmforest.h
/usr/include/petsc64/petscdmlabel.h
/usr/include/petsc64/petscdmmoab.h
/usr/include/petsc64/petscdmnetwork.h
/usr/include/petsc64/petscdmpatch.h
/usr/include/petsc64/petscdmplex.h
/usr/include/petsc64/petscdmplextypes.h
/usr/include/petsc64/petscdmproduct.h
/usr/include/petsc64/petscdmredundant.h
/usr/include/petsc64/petscdmshell.h
/usr/include/petsc64/petscdmsliced.h
/usr/include/petsc64/petscdmstag.h
/usr/include/petsc64/petscdmswarm.h
/usr/include/petsc64/petscdmtypes.h
/usr/include/petsc64/petscdraw.h
/usr/include/petsc64/petscdrawtypes.h
/usr/include/petsc64/petscds.h
/usr/include/petsc64/petscdstypes.h
/usr/include/petsc64/petscdt.h
/usr/include/petsc64/petscerror.h
/usr/include/petsc64/petscfe.h
/usr/include/petsc64/petscfetypes.h
/usr/include/petsc64/petscfix.h
/usr/include/petsc64/petscfv.h
/usr/include/petsc64/petscfvtypes.h
/usr/include/petsc64/petscgll.h
/usr/include/petsc64/petscis.h
/usr/include/petsc64/petscistypes.h
/usr/include/petsc64/petscksp.h
/usr/include/petsc64/petsclog.h
/usr/include/petsc64/petscmachineinfo.h
/usr/include/petsc64/petscmat.h
/usr/include/petsc64/petscmatcoarsen.h
/usr/include/petsc64/petscmatelemental.h
/usr/include/petsc64/petscmath.h
/usr/include/petsc64/petscmathypre.h
/usr/include/petsc64/petscmatlab.h
/usr/include/petsc64/petscoptions.h
/usr/include/petsc64/petscpc.h
/usr/include/petsc64/petscpctypes.h
/usr/include/petsc64/petscpf.h
/usr/include/petsc64/petscsf.h
/usr/include/petsc64/petscsftypes.h
/usr/include/petsc64/petscsnes.h
/usr/include/petsc64/petscsys.h
/usr/include/petsc64/petscsystypes.h
/usr/include/petsc64/petsctao.h
/usr/include/petsc64/petsctaolinesearch.h
/usr/include/petsc64/petsctime.h
/usr/include/petsc64/petscts.h
/usr/include/petsc64/petscvalgrind.h
/usr/include/petsc64/petscvec.h
/usr/include/petsc64/petscversion.h
/usr/include/petsc64/petscviennacl.h
/usr/include/petsc64/petscviewer.h
/usr/include/petsc64/petscviewerhdf5.h
/usr/include/petsc64/petscviewersaws.h
/usr/include/petsc64/petscviewertypes.h
/usr/include/petsc64/petscwebclient.h
/usr/lib64/gfortran/modules/petsc64
/usr/lib64/gfortran/modules/petsc64/mpiuni.mod
/usr/lib64/gfortran/modules/petsc64/petsc.mod
/usr/lib64/gfortran/modules/petsc64/petscao.mod
/usr/lib64/gfortran/modules/petsc64/petscaodef.mod
/usr/lib64/gfortran/modules/petsc64/petscdef.mod
/usr/lib64/gfortran/modules/petsc64/petscdm.mod
/usr/lib64/gfortran/modules/petsc64/petscdmda.mod
/usr/lib64/gfortran/modules/petsc64/petscdmdadef.mod
/usr/lib64/gfortran/modules/petsc64/petscdmdef.mod
/usr/lib64/gfortran/modules/petsc64/petscdmdefdummy.mod
/usr/lib64/gfortran/modules/petsc64/petscdmforest.mod
/usr/lib64/gfortran/modules/petsc64/petscdmforestdef.mod
/usr/lib64/gfortran/modules/petsc64/petscdmlabel.mod
/usr/lib64/gfortran/modules/petsc64/petscdmlabeldef.mod
/usr/lib64/gfortran/modules/petsc64/petscdmnetwork.mod
/usr/lib64/gfortran/modules/petsc64/petscdmnetworkdef.mod
/usr/lib64/gfortran/modules/petsc64/petscdmpatch.mod
/usr/lib64/gfortran/modules/petsc64/petscdmpatchdef.mod
/usr/lib64/gfortran/modules/petsc64/petscdmplex.mod
/usr/lib64/gfortran/modules/petsc64/petscdmplexdef.mod
/usr/lib64/gfortran/modules/petsc64/petscdt.mod
/usr/lib64/gfortran/modules/petsc64/petscis.mod
/usr/lib64/gfortran/modules/petsc64/petscisdef.mod
/usr/lib64/gfortran/modules/petsc64/petscisdefdummy.mod
/usr/lib64/gfortran/modules/petsc64/petscksp.mod
/usr/lib64/gfortran/modules/petsc64/petsckspdef.mod
/usr/lib64/gfortran/modules/petsc64/petsckspdefdummy.mod
/usr/lib64/gfortran/modules/petsc64/petscmat.mod
/usr/lib64/gfortran/modules/petsc64/petscmatdef.mod
/usr/lib64/gfortran/modules/petsc64/petscmatdefdummy.mod
/usr/lib64/gfortran/modules/petsc64/petscpc.mod
/usr/lib64/gfortran/modules/petsc64/petscpcdef.mod
/usr/lib64/gfortran/modules/petsc64/petscpcdefdummy.mod
/usr/lib64/gfortran/modules/petsc64/petscsnes.mod
/usr/lib64/gfortran/modules/petsc64/petscsnesdef.mod
/usr/lib64/gfortran/modules/petsc64/petscsnesdefdummy.mod
/usr/lib64/gfortran/modules/petsc64/petscsys.mod
/usr/lib64/gfortran/modules/petsc64/petscsysdef.mod
/usr/lib64/gfortran/modules/petsc64/petscsysdefdummy.mod
/usr/lib64/gfortran/modules/petsc64/petsctao.mod
/usr/lib64/gfortran/modules/petsc64/petsctaodef.mod
/usr/lib64/gfortran/modules/petsc64/petscts.mod
/usr/lib64/gfortran/modules/petsc64/petsctsdef.mod
/usr/lib64/gfortran/modules/petsc64/petsctsdefdummy.mod
/usr/lib64/gfortran/modules/petsc64/petscvec.mod
/usr/lib64/gfortran/modules/petsc64/petscvecdef.mod
/usr/lib64/gfortran/modules/petsc64/petscvecdefdummy.mod
/usr/lib64/libpetsc64.so
/usr/lib64/petsc64
/usr/lib64/petsc64/conf
/usr/lib64/petsc64/conf/petscrules
/usr/lib64/petsc64/conf/petscvariables
/usr/lib64/petsc64/conf/rules
/usr/lib64/petsc64/conf/variables
/usr/lib64/pkgconfig/petsc64.pc

References

Summary

In this tutorial we learn how to install petsc64-devel on Rocky Linux 8 using yum and dnf.