How To Install cp2k-common on Fedora 36

In this tutorial we learn how to install cp2k-common in Fedora 36. cp2k-common is Molecular simulations software - common files

Introduction

In this tutorial we learn how to install cp2k-common on Fedora 36.

What is cp2k-common

CP2K is a freely available (GPL) program, written in Fortran 95, to perform atomistic and molecular simulations of solid state, liquid, molecular and biological systems. It provides a general framework for different methods such as e.g. density functional theory (DFT) using a mixed Gaussian and plane waves approach (GPW), and classical pair and many-body potentials. CP2K does not implement Car-Parinello Molecular Dynamics (CPMD). This package contains the documentation and the manual.

We can use yum or dnf to install cp2k-common on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install cp2k-common.

Install cp2k-common on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install cp2k-common

Install cp2k-common on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install cp2k-common

How To Uninstall cp2k-common on Fedora 36

To uninstall only the cp2k-common package we can use the following command:

sudo dnf remove cp2k-common

cp2k-common Package Contents on Fedora 36

/usr/share/cp2k
/usr/share/cp2k/ALL_BASIS_SETS
/usr/share/cp2k/ALL_POTENTIALS
/usr/share/cp2k/AcPP1_POTENTIALS
/usr/share/cp2k/BASIS_ADMM
/usr/share/cp2k/BASIS_ADMM_MOLOPT
/usr/share/cp2k/BASIS_ADMM_UZH
/usr/share/cp2k/BASIS_LRIGPW_AUXMOLOPT
/usr/share/cp2k/BASIS_MINIX
/usr/share/cp2k/BASIS_MOLOPT
/usr/share/cp2k/BASIS_MOLOPT_AcPP1
/usr/share/cp2k/BASIS_MOLOPT_LnPP1
/usr/share/cp2k/BASIS_MOLOPT_UCL
/usr/share/cp2k/BASIS_MOLOPT_UZH
/usr/share/cp2k/BASIS_RI_cc-TZ
/usr/share/cp2k/BASIS_SET
/usr/share/cp2k/BASIS_ZIJLSTRA
/usr/share/cp2k/BASIS_ccGRB_UZH
/usr/share/cp2k/BASIS_def2_QZVP_RI_ALL
/usr/share/cp2k/BASIS_pob
/usr/share/cp2k/DFTB
/usr/share/cp2k/DFTB/nonscc
/usr/share/cp2k/DFTB/nonscc/bb
/usr/share/cp2k/DFTB/nonscc/bc
/usr/share/cp2k/DFTB/nonscc/bh
/usr/share/cp2k/DFTB/nonscc/bn
/usr/share/cp2k/DFTB/nonscc/cb
/usr/share/cp2k/DFTB/nonscc/cc
/usr/share/cp2k/DFTB/nonscc/cf
/usr/share/cp2k/DFTB/nonscc/ch
/usr/share/cp2k/DFTB/nonscc/clcl_exp
/usr/share/cp2k/DFTB/nonscc/clk_exp
/usr/share/cp2k/DFTB/nonscc/clli_exp
/usr/share/cp2k/DFTB/nonscc/clna_exp
/usr/share/cp2k/DFTB/nonscc/cn
/usr/share/cp2k/DFTB/nonscc/co
/usr/share/cp2k/DFTB/nonscc/csc
/usr/share/cp2k/DFTB/nonscc/csi
/usr/share/cp2k/DFTB/nonscc/fc
/usr/share/cp2k/DFTB/nonscc/ff
/usr/share/cp2k/DFTB/nonscc/fh
/usr/share/cp2k/DFTB/nonscc/hb
/usr/share/cp2k/DFTB/nonscc/hh
/usr/share/cp2k/DFTB/nonscc/hh0
/usr/share/cp2k/DFTB/nonscc/kcl_exp
/usr/share/cp2k/DFTB/nonscc/kk_exp
/usr/share/cp2k/DFTB/nonscc/licl_exp
/usr/share/cp2k/DFTB/nonscc/lili_exp
/usr/share/cp2k/DFTB/nonscc/momo
/usr/share/cp2k/DFTB/nonscc/mos
/usr/share/cp2k/DFTB/nonscc/nacl_exp
/usr/share/cp2k/DFTB/nonscc/nana_exp
/usr/share/cp2k/DFTB/nonscc/nb
/usr/share/cp2k/DFTB/nonscc/nbnb
/usr/share/cp2k/DFTB/nonscc/nbs
/usr/share/cp2k/DFTB/nonscc/nc
/usr/share/cp2k/DFTB/nonscc/nh
/usr/share/cp2k/DFTB/nonscc/nn
/usr/share/cp2k/DFTB/nonscc/no
/usr/share/cp2k/DFTB/nonscc/nonscc_parameter
/usr/share/cp2k/DFTB/nonscc/nsc
/usr/share/cp2k/DFTB/nonscc/nsi
/usr/share/cp2k/DFTB/nonscc/oc
/usr/share/cp2k/DFTB/nonscc/oh
/usr/share/cp2k/DFTB/nonscc/on
/usr/share/cp2k/DFTB/nonscc/oo
/usr/share/cp2k/DFTB/nonscc/osi
/usr/share/cp2k/DFTB/nonscc/osi-d
/usr/share/cp2k/DFTB/nonscc/pp
/usr/share/cp2k/DFTB/nonscc/scc
/usr/share/cp2k/DFTB/nonscc/scn
/usr/share/cp2k/DFTB/nonscc/scsc
/usr/share/cp2k/DFTB/nonscc/sic
/usr/share/cp2k/DFTB/nonscc/sih
/usr/share/cp2k/DFTB/nonscc/sih-d
/usr/share/cp2k/DFTB/nonscc/sin
/usr/share/cp2k/DFTB/nonscc/sio
/usr/share/cp2k/DFTB/nonscc/sio-d
/usr/share/cp2k/DFTB/nonscc/sisi
/usr/share/cp2k/DFTB/nonscc/sisi-d
/usr/share/cp2k/DFTB/nonscc/smo
/usr/share/cp2k/DFTB/nonscc/snb
/usr/share/cp2k/DFTB/nonscc/ss
/usr/share/cp2k/DFTB/scc
/usr/share/cp2k/DFTB/scc/cc.spl
/usr/share/cp2k/DFTB/scc/ch.spl
/usr/share/cp2k/DFTB/scc/cn.spl
/usr/share/cp2k/DFTB/scc/co.spl
/usr/share/cp2k/DFTB/scc/cp.spl
/usr/share/cp2k/DFTB/scc/cs.spl
/usr/share/cp2k/DFTB/scc/czn.spl
/usr/share/cp2k/DFTB/scc/hc.spl
/usr/share/cp2k/DFTB/scc/hh.spl
/usr/share/cp2k/DFTB/scc/hn.spl
/usr/share/cp2k/DFTB/scc/ho.spl
/usr/share/cp2k/DFTB/scc/ho_modi.spl
/usr/share/cp2k/DFTB/scc/hp.spl
/usr/share/cp2k/DFTB/scc/hs.spl
/usr/share/cp2k/DFTB/scc/hzn.spl
/usr/share/cp2k/DFTB/scc/nc.spl
/usr/share/cp2k/DFTB/scc/nh.spl
/usr/share/cp2k/DFTB/scc/nn.spl
/usr/share/cp2k/DFTB/scc/no.spl
/usr/share/cp2k/DFTB/scc/np.spl
/usr/share/cp2k/DFTB/scc/ns.spl
/usr/share/cp2k/DFTB/scc/nzn.spl
/usr/share/cp2k/DFTB/scc/oc.spl
/usr/share/cp2k/DFTB/scc/oh.spl
/usr/share/cp2k/DFTB/scc/oh_modi.spl
/usr/share/cp2k/DFTB/scc/on.spl
/usr/share/cp2k/DFTB/scc/oo.spl
/usr/share/cp2k/DFTB/scc/oo_modi.spl
/usr/share/cp2k/DFTB/scc/op.spl
/usr/share/cp2k/DFTB/scc/os.spl
/usr/share/cp2k/DFTB/scc/ozn.spl
/usr/share/cp2k/DFTB/scc/pc.spl
/usr/share/cp2k/DFTB/scc/ph.spl
/usr/share/cp2k/DFTB/scc/pn.spl
/usr/share/cp2k/DFTB/scc/po.spl
/usr/share/cp2k/DFTB/scc/pp.spl
/usr/share/cp2k/DFTB/scc/ps.spl
/usr/share/cp2k/DFTB/scc/sc.spl
/usr/share/cp2k/DFTB/scc/scc_parameter
/usr/share/cp2k/DFTB/scc/sh.spl
/usr/share/cp2k/DFTB/scc/sn.spl
/usr/share/cp2k/DFTB/scc/so.spl
/usr/share/cp2k/DFTB/scc/sp.spl
/usr/share/cp2k/DFTB/scc/ss.spl
/usr/share/cp2k/DFTB/scc/szn.spl
/usr/share/cp2k/DFTB/scc/uff_table
/usr/share/cp2k/DFTB/scc/znc.spl
/usr/share/cp2k/DFTB/scc/znh.spl
/usr/share/cp2k/DFTB/scc/znn.spl
/usr/share/cp2k/DFTB/scc/zno.spl
/usr/share/cp2k/DFTB/scc/zns.spl
/usr/share/cp2k/DFTB/scc/znzn.spl
/usr/share/cp2k/DFTB/uff_table
/usr/share/cp2k/ECP_POTENTIALS
/usr/share/cp2k/EMSL_BASIS_SETS
/usr/share/cp2k/GTH_BASIS_SETS
/usr/share/cp2k/GTH_POTENTIALS
/usr/share/cp2k/HFX_BASIS
/usr/share/cp2k/HF_POTENTIALS
/usr/share/cp2k/LnPP1_POTENTIALS
/usr/share/cp2k/MM_POTENTIAL
/usr/share/cp2k/NLCC_POTENTIALS
/usr/share/cp2k/NNP
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/README.md
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-1
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-1/input.nn
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-1/scaling.data
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-1/weights.001.data
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-1/weights.008.data
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-2
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-2/input.nn
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-2/scaling.data
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-2/weights.001.data
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-2/weights.008.data
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-3
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-3/input.nn
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-3/scaling.data
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-3/weights.001.data
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-3/weights.008.data
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-4
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-4/input.nn
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-4/scaling.data
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-4/weights.001.data
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-4/weights.008.data
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-5
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-5/input.nn
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-5/scaling.data
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-5/weights.001.data
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-5/weights.008.data
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-6
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-6/input.nn
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-6/scaling.data
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-6/weights.001.data
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-6/weights.008.data
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-7
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-7/input.nn
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-7/scaling.data
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-7/weights.001.data
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-7/weights.008.data
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-8
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-8/input.nn
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-8/scaling.data
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-8/weights.001.data
/usr/share/cp2k/NNP/bulkH2O-jcp2020-cnnp/nnp-8/weights.008.data
/usr/share/cp2k/POTENTIAL
/usr/share/cp2k/POTENTIAL_UZH
/usr/share/cp2k/README.md
/usr/share/cp2k/dftd3.dat
/usr/share/cp2k/nm12_parameters.xml
/usr/share/cp2k/rVV10_kernel_table.dat
/usr/share/cp2k/t_c_g.dat
/usr/share/cp2k/t_sh_p_s_c.dat
/usr/share/cp2k/vdW_kernel_table.dat
/usr/share/cp2k/xTB_parameters
/usr/share/cp2k/xc_section
/usr/share/cp2k/xc_section/HF-3c.sec
/usr/share/cp2k/xc_section/PBE.sec
/usr/share/cp2k/xc_section/vdW-DF-cx.sec
/usr/share/cp2k/xc_section/vdW-DF-cx0p.sec
/usr/share/cp2k/xc_section/vdW-DF-optB88.sec
/usr/share/cp2k/xc_section/vdW-DF-optPBE.sec
/usr/share/cp2k/xc_section/vdW-DF1-C09.sec
/usr/share/cp2k/xc_section/vdW-DF1.sec
/usr/share/cp2k/xc_section/vdW-DF2-b86r.sec
/usr/share/cp2k/xc_section/vdW-DF2.sec
/usr/share/doc/cp2k-common
/usr/share/doc/cp2k-common/README.md
/usr/share/licenses/cp2k-common
/usr/share/licenses/cp2k-common/LICENSE

References

Summary

In this tutorial we learn how to install cp2k-common on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).