How To Install petsc-devel on Rocky Linux 8
Introduction
In this tutorial we learn how to install petsc-devel
on Rocky Linux 8.
What is petsc-devel
Portable Extensible Toolkit for Scientific Computation (developer files).
We can use yum
or dnf
to install petsc-devel
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install petsc-devel.
Install petsc-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 petsc-devel
using dnf
by running the following command:
sudo dnf -y install petsc-devel
Install petsc-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 petsc-devel
using yum
by running the following command:
sudo yum -y install petsc-devel
How To Uninstall petsc-devel on Rocky Linux 8
To uninstall only the petsc-devel
package we can use the following command:
sudo dnf remove petsc-devel
petsc-devel Package Contents on Rocky Linux 8
/usr/include/petsc
/usr/include/petsc/makefile
/usr/include/petsc/petsc
/usr/include/petsc/petsc.h
/usr/include/petsc/petsc/finclude
/usr/include/petsc/petsc/finclude/makefile
/usr/include/petsc/petsc/finclude/petsc.h
/usr/include/petsc/petsc/finclude/petscao.h
/usr/include/petsc/petsc/finclude/petscbag.h
/usr/include/petsc/petsc/finclude/petscdm.h
/usr/include/petsc/petsc/finclude/petscdmda.h
/usr/include/petsc/petsc/finclude/petscdmlabel.h
/usr/include/petsc/petsc/finclude/petscdmnetwork.h
/usr/include/petsc/petsc/finclude/petscdmplex.h
/usr/include/petsc/petsc/finclude/petscdraw.h
/usr/include/petsc/petsc/finclude/petscerror.h
/usr/include/petsc/petsc/finclude/petscis.h
/usr/include/petsc/petsc/finclude/petscksp.h
/usr/include/petsc/petsc/finclude/petsclog.h
/usr/include/petsc/petsc/finclude/petscmat.h
/usr/include/petsc/petsc/finclude/petscpc.h
/usr/include/petsc/petsc/finclude/petscsnes.h
/usr/include/petsc/petsc/finclude/petscsnesfas.h
/usr/include/petsc/petsc/finclude/petscsys.h
/usr/include/petsc/petsc/finclude/petsctao.h
/usr/include/petsc/petsc/finclude/petscts.h
/usr/include/petsc/petsc/finclude/petscvec.h
/usr/include/petsc/petsc/finclude/petscviewer.h
/usr/include/petsc/petsc/mpiuni
/usr/include/petsc/petsc/mpiuni/mpi.h
/usr/include/petsc/petsc/mpiuni/mpif.h
/usr/include/petsc/petsc/mpiuni/mpiunifdef.h
/usr/include/petsc/petsc/private
/usr/include/petsc/petsc/private/bagimpl.h
/usr/include/petsc/petsc/private/characteristicimpl.h
/usr/include/petsc/petsc/private/dmadaptorimpl.h
/usr/include/petsc/petsc/private/dmdaimpl.h
/usr/include/petsc/petsc/private/dmfieldimpl.h
/usr/include/petsc/petsc/private/dmforestimpl.h
/usr/include/petsc/petsc/private/dmimpl.h
/usr/include/petsc/petsc/private/dmlabelimpl.h
/usr/include/petsc/petsc/private/dmmbimpl.h
/usr/include/petsc/petsc/private/dmnetworkimpl.h
/usr/include/petsc/petsc/private/dmpatchimpl.h
/usr/include/petsc/petsc/private/dmpleximpl.h
/usr/include/petsc/petsc/private/dmproductimpl.h
/usr/include/petsc/petsc/private/dmstagimpl.h
/usr/include/petsc/petsc/private/dmswarmimpl.h
/usr/include/petsc/petsc/private/drawimpl.h
/usr/include/petsc/petsc/private/dtimpl.h
/usr/include/petsc/petsc/private/f90impl.h
/usr/include/petsc/petsc/private/fortranimpl.h
/usr/include/petsc/petsc/private/glvisvecimpl.h
/usr/include/petsc/petsc/private/glvisviewerimpl.h
/usr/include/petsc/petsc/private/hashmap.h
/usr/include/petsc/petsc/private/hashmapi.h
/usr/include/petsc/petsc/private/hashmapij.h
/usr/include/petsc/petsc/private/hashset.h
/usr/include/petsc/petsc/private/hashseti.h
/usr/include/petsc/petsc/private/hashsetij.h
/usr/include/petsc/petsc/private/hashtable.h
/usr/include/petsc/petsc/private/isimpl.h
/usr/include/petsc/petsc/private/kernels
/usr/include/petsc/petsc/private/kernels/blockinvert.h
/usr/include/petsc/petsc/private/kernels/blockmatmult.h
/usr/include/petsc/petsc/private/kernels/blocktranspose.h
/usr/include/petsc/petsc/private/kernels/khash.h
/usr/include/petsc/petsc/private/kernels/petscaxpy.h
/usr/include/petsc/petsc/private/kspimpl.h
/usr/include/petsc/petsc/private/linesearchimpl.h
/usr/include/petsc/petsc/private/logimpl.h
/usr/include/petsc/petsc/private/makefile
/usr/include/petsc/petsc/private/matimpl.h
/usr/include/petsc/petsc/private/matorderimpl.h
/usr/include/petsc/petsc/private/pcgamgimpl.h
/usr/include/petsc/petsc/private/pcimpl.h
/usr/include/petsc/petsc/private/pcmgimpl.h
/usr/include/petsc/petsc/private/pcpatchimpl.h
/usr/include/petsc/petsc/private/petscconvestimpl.h
/usr/include/petsc/petsc/private/petscdsimpl.h
/usr/include/petsc/petsc/private/petscfeimpl.h
/usr/include/petsc/petsc/private/petscfptimpl.h
/usr/include/petsc/petsc/private/petscfvimpl.h
/usr/include/petsc/petsc/private/petscimpl.h
/usr/include/petsc/petsc/private/sfimpl.h
/usr/include/petsc/petsc/private/snesimpl.h
/usr/include/petsc/petsc/private/taoimpl.h
/usr/include/petsc/petsc/private/taolinesearchimpl.h
/usr/include/petsc/petsc/private/tshistoryimpl.h
/usr/include/petsc/petsc/private/tsimpl.h
/usr/include/petsc/petsc/private/vecimpl.h
/usr/include/petsc/petsc/private/vecscatterimpl.h
/usr/include/petsc/petsc/private/vieweradios2impl.h
/usr/include/petsc/petsc/private/vieweradiosimpl.h
/usr/include/petsc/petsc/private/viewerimpl.h
/usr/include/petsc/petscao.h
/usr/include/petsc/petscbag.h
/usr/include/petsc/petscblaslapack.h
/usr/include/petsc/petscblaslapack_mangle.h
/usr/include/petsc/petscblaslapack_stdcall.h
/usr/include/petsc/petscbt.h
/usr/include/petsc/petsccharacteristic.h
/usr/include/petsc/petscconf.h
/usr/include/petsc/petscconfiginfo.h
/usr/include/petsc/petscconvest.h
/usr/include/petsc/petscctable.h
/usr/include/petsc/petsccuda.h
/usr/include/petsc/petscdm.h
/usr/include/petsc/petscdmadaptor.h
/usr/include/petsc/petscdmcomposite.h
/usr/include/petsc/petscdmda.h
/usr/include/petsc/petscdmdatypes.h
/usr/include/petsc/petscdmfield.h
/usr/include/petsc/petscdmforest.h
/usr/include/petsc/petscdmlabel.h
/usr/include/petsc/petscdmmoab.h
/usr/include/petsc/petscdmnetwork.h
/usr/include/petsc/petscdmpatch.h
/usr/include/petsc/petscdmplex.h
/usr/include/petsc/petscdmplextypes.h
/usr/include/petsc/petscdmproduct.h
/usr/include/petsc/petscdmredundant.h
/usr/include/petsc/petscdmshell.h
/usr/include/petsc/petscdmsliced.h
/usr/include/petsc/petscdmstag.h
/usr/include/petsc/petscdmswarm.h
/usr/include/petsc/petscdmtypes.h
/usr/include/petsc/petscdraw.h
/usr/include/petsc/petscdrawtypes.h
/usr/include/petsc/petscds.h
/usr/include/petsc/petscdstypes.h
/usr/include/petsc/petscdt.h
/usr/include/petsc/petscerror.h
/usr/include/petsc/petscfe.h
/usr/include/petsc/petscfetypes.h
/usr/include/petsc/petscfix.h
/usr/include/petsc/petscfv.h
/usr/include/petsc/petscfvtypes.h
/usr/include/petsc/petscgll.h
/usr/include/petsc/petscis.h
/usr/include/petsc/petscistypes.h
/usr/include/petsc/petscksp.h
/usr/include/petsc/petsclog.h
/usr/include/petsc/petscmachineinfo.h
/usr/include/petsc/petscmat.h
/usr/include/petsc/petscmatcoarsen.h
/usr/include/petsc/petscmatelemental.h
/usr/include/petsc/petscmath.h
/usr/include/petsc/petscmathypre.h
/usr/include/petsc/petscmatlab.h
/usr/include/petsc/petscoptions.h
/usr/include/petsc/petscpc.h
/usr/include/petsc/petscpctypes.h
/usr/include/petsc/petscpf.h
/usr/include/petsc/petscsf.h
/usr/include/petsc/petscsftypes.h
/usr/include/petsc/petscsnes.h
/usr/include/petsc/petscsys.h
/usr/include/petsc/petscsystypes.h
/usr/include/petsc/petsctao.h
/usr/include/petsc/petsctaolinesearch.h
/usr/include/petsc/petsctime.h
/usr/include/petsc/petscts.h
/usr/include/petsc/petscvalgrind.h
/usr/include/petsc/petscvec.h
/usr/include/petsc/petscversion.h
/usr/include/petsc/petscviennacl.h
/usr/include/petsc/petscviewer.h
/usr/include/petsc/petscviewerhdf5.h
/usr/include/petsc/petscviewersaws.h
/usr/include/petsc/petscviewertypes.h
/usr/include/petsc/petscwebclient.h
/usr/lib64/gfortran/modules/petsc
/usr/lib64/gfortran/modules/petsc/mpiuni.mod
/usr/lib64/gfortran/modules/petsc/petsc.mod
/usr/lib64/gfortran/modules/petsc/petscao.mod
/usr/lib64/gfortran/modules/petsc/petscaodef.mod
/usr/lib64/gfortran/modules/petsc/petscdef.mod
/usr/lib64/gfortran/modules/petsc/petscdm.mod
/usr/lib64/gfortran/modules/petsc/petscdmda.mod
/usr/lib64/gfortran/modules/petsc/petscdmdadef.mod
/usr/lib64/gfortran/modules/petsc/petscdmdef.mod
/usr/lib64/gfortran/modules/petsc/petscdmdefdummy.mod
/usr/lib64/gfortran/modules/petsc/petscdmforest.mod
/usr/lib64/gfortran/modules/petsc/petscdmforestdef.mod
/usr/lib64/gfortran/modules/petsc/petscdmlabel.mod
/usr/lib64/gfortran/modules/petsc/petscdmlabeldef.mod
/usr/lib64/gfortran/modules/petsc/petscdmnetwork.mod
/usr/lib64/gfortran/modules/petsc/petscdmnetworkdef.mod
/usr/lib64/gfortran/modules/petsc/petscdmpatch.mod
/usr/lib64/gfortran/modules/petsc/petscdmpatchdef.mod
/usr/lib64/gfortran/modules/petsc/petscdmplex.mod
/usr/lib64/gfortran/modules/petsc/petscdmplexdef.mod
/usr/lib64/gfortran/modules/petsc/petscdt.mod
/usr/lib64/gfortran/modules/petsc/petscis.mod
/usr/lib64/gfortran/modules/petsc/petscisdef.mod
/usr/lib64/gfortran/modules/petsc/petscisdefdummy.mod
/usr/lib64/gfortran/modules/petsc/petscksp.mod
/usr/lib64/gfortran/modules/petsc/petsckspdef.mod
/usr/lib64/gfortran/modules/petsc/petsckspdefdummy.mod
/usr/lib64/gfortran/modules/petsc/petscmat.mod
/usr/lib64/gfortran/modules/petsc/petscmatdef.mod
/usr/lib64/gfortran/modules/petsc/petscmatdefdummy.mod
/usr/lib64/gfortran/modules/petsc/petscpc.mod
/usr/lib64/gfortran/modules/petsc/petscpcdef.mod
/usr/lib64/gfortran/modules/petsc/petscpcdefdummy.mod
/usr/lib64/gfortran/modules/petsc/petscsnes.mod
/usr/lib64/gfortran/modules/petsc/petscsnesdef.mod
/usr/lib64/gfortran/modules/petsc/petscsnesdefdummy.mod
/usr/lib64/gfortran/modules/petsc/petscsys.mod
/usr/lib64/gfortran/modules/petsc/petscsysdef.mod
/usr/lib64/gfortran/modules/petsc/petscsysdefdummy.mod
/usr/lib64/gfortran/modules/petsc/petsctao.mod
/usr/lib64/gfortran/modules/petsc/petsctaodef.mod
/usr/lib64/gfortran/modules/petsc/petscts.mod
/usr/lib64/gfortran/modules/petsc/petsctsdef.mod
/usr/lib64/gfortran/modules/petsc/petsctsdefdummy.mod
/usr/lib64/gfortran/modules/petsc/petscvec.mod
/usr/lib64/gfortran/modules/petsc/petscvecdef.mod
/usr/lib64/gfortran/modules/petsc/petscvecdefdummy.mod
/usr/lib64/libpetsc.so
/usr/lib64/petsc
/usr/lib64/petsc/conf
/usr/lib64/petsc/conf/petscrules
/usr/lib64/petsc/conf/petscvariables
/usr/lib64/petsc/conf/rules
/usr/lib64/petsc/conf/variables
/usr/lib64/pkgconfig/petsc.pc
References
Summary
In this tutorial we learn how to install petsc-devel
on Rocky Linux 8 using yum and dnf.