How To Install quantum-espresso on CentOS 8

quantum-espresso is A suite for electronic-structure calculations and materials modeling

Introduction

In this tutorial we learn how to install quantum-espresso on CentOS 8.

What is quantum-espresso

QUANTUM ESPRESSO is an integrated suite of Open-Source computer codes for electronic-structure calculations and materials modeling at the nanoscale. It is based on density-functional theory, plane waves, and pseudopotentials. Serial version. Includes iotk executables.

We can use yum or dnf to install quantum-espresso on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install quantum-espresso.

Install quantum-espresso on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install quantum-espresso

Install quantum-espresso on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install quantum-espresso

How To Uninstall quantum-espresso on CentOS 8

To uninstall only the quantum-espresso package we can use the following command:

sudo dnf remove quantum-espresso

quantum-espresso Package Contents on CentOS 8

/usr/bin/alpha2f.x
/usr/bin/average.x
/usr/bin/bands.x
/usr/bin/benchmark_libxc.x
/usr/bin/bse_main.x
/usr/bin/casino2upf.x
/usr/bin/cell2ibrav.x
/usr/bin/cp.x
/usr/bin/cpmd2upf.x
/usr/bin/cppp.x
/usr/bin/dist.x
/usr/bin/dos.x
/usr/bin/dynmat.x
/usr/bin/epa.x
/usr/bin/epsilon.x
/usr/bin/ev.x
/usr/bin/extract_core.x
/usr/bin/fd.x
/usr/bin/fd_ef.x
/usr/bin/fd_ifc.x
/usr/bin/fermi_proj.x
/usr/bin/fermi_velocity.x
/usr/bin/fhi2upf.x
/usr/bin/fix_upf.x
/usr/bin/fpmd2upf.x
/usr/bin/fqha.x
/usr/bin/fs.x
/usr/bin/gww.x
/usr/bin/gww_fit.x
/usr/bin/head.x
/usr/bin/hp.x
/usr/bin/ibrav2cell.x
/usr/bin/initial_state.x
/usr/bin/interpolate.x
/usr/bin/iotk
/usr/bin/iotk.x
/usr/bin/iotk_print_kinds.x
/usr/bin/kpoints.x
/usr/bin/lambda.x
/usr/bin/ld1.x
/usr/bin/manycp.x
/usr/bin/manypw.x
/usr/bin/matdyn.x
/usr/bin/molecularnexafs.x
/usr/bin/molecularpdos.x
/usr/bin/ncpp2upf.x
/usr/bin/neb.x
/usr/bin/oldcp2upf.x
/usr/bin/open_grid.x
/usr/bin/path_interpolation.x
/usr/bin/ph.x
/usr/bin/phcg.x
/usr/bin/plan_avg.x
/usr/bin/plotband.x
/usr/bin/plotproj.x
/usr/bin/plotrho.x
/usr/bin/pmw.x
/usr/bin/pp.x
/usr/bin/ppacf.x
/usr/bin/projwfc.x
/usr/bin/pw.x
/usr/bin/pw2bgw.x
/usr/bin/pw2critic.x
/usr/bin/pw2gw.x
/usr/bin/pw2wannier90.x
/usr/bin/pw4gww.x
/usr/bin/pwcond.x
/usr/bin/pwi2xsf.x
/usr/bin/q2qstar.x
/usr/bin/q2r.x
/usr/bin/q2trans.x
/usr/bin/q2trans_fd.x
/usr/bin/read_upf_tofile.x
/usr/bin/rrkj2upf.x
/usr/bin/simple.x
/usr/bin/simple_bse.x
/usr/bin/simple_ip.x
/usr/bin/spectra_correction.x
/usr/bin/sumpdos.x
/usr/bin/turbo_davidson.x
/usr/bin/turbo_eels.x
/usr/bin/turbo_lanczos.x
/usr/bin/turbo_spectrum.x
/usr/bin/upf2casino.x
/usr/bin/uspp2upf.x
/usr/bin/vdb2upf.x
/usr/bin/virtual_v2.x
/usr/bin/wannier_ham.x
/usr/bin/wannier_plot.x
/usr/bin/wfck2r.x
/usr/bin/wfdd.x
/usr/bin/xspectra.x
/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/1885eb019c37c273bcb43edff49a2baa11d0f6
/usr/lib/.build-id/06
/usr/lib/.build-id/06/d2846555db51e22c360d99dcd429bc50b04437
/usr/lib/.build-id/08
/usr/lib/.build-id/08/8a6178d9e73173e96a9a952117858a12e40be4
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/eddea85431a8490077563f07a664ea574acffd
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/94d7f3cd4869271795dc6b520c1ddfa83b8f66
/usr/lib/.build-id/12
/usr/lib/.build-id/12/03f0002e6a50bdc1be0a702360a2b1e84dcfcc
/usr/lib/.build-id/15
/usr/lib/.build-id/15/fdba771fe06bb3c1980cfa4e7a1633a7a7357c
/usr/lib/.build-id/19
/usr/lib/.build-id/19/9e46834309d750bf8b824bec234d8d3b0875ce
/usr/lib/.build-id/21
/usr/lib/.build-id/21/ba779dc80fcd4d9c2398ca7396d0bf83d81a3e
/usr/lib/.build-id/28
/usr/lib/.build-id/28/53b9ae48f9bfc48b93200e2e9c45f60d3277ed
/usr/lib/.build-id/28/9b30a4b46cceecaa572f44effbd73efd30b26e
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/f0c264b73988d56b188eb6c15b3f57947cdaea
/usr/lib/.build-id/31
/usr/lib/.build-id/31/d4f84a21544a8c9cda0fb148ea37aef1d02ec2
/usr/lib/.build-id/33
/usr/lib/.build-id/33/299cce0bff8968630f07e18943a55705859fc3
/usr/lib/.build-id/34
/usr/lib/.build-id/34/0c8f82188535845eae66cdaac484e3a9572822
/usr/lib/.build-id/34/c7112fe1ee741e75b0add1b7e69ed01ada7769
/usr/lib/.build-id/38
/usr/lib/.build-id/38/e8b8809eb1059abcd4871fe8542ef6e651d714
/usr/lib/.build-id/3f
/usr/lib/.build-id/3f/cf86718f355185299b7814aca85cfd3842c5dd
/usr/lib/.build-id/42
/usr/lib/.build-id/42/7cfc27753d684526760bbac489d7837fdf51f0
/usr/lib/.build-id/42/ea4c200f8cad9f355410932eea143000a1566c
/usr/lib/.build-id/45
/usr/lib/.build-id/45/fd086a76e3aaa7a669510e315ff6f349de05e6
/usr/lib/.build-id/49
/usr/lib/.build-id/49/41a42551db3eeb826c5fdc7a7a981a8997dbed
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/2a9d99ce885dc53014fc4e0d174e8267f1e349
/usr/lib/.build-id/4d/4fae6bf9e2fe36814fb6ad54b1e84d3dec8f55
/usr/lib/.build-id/52
/usr/lib/.build-id/52/3fc1abe76f00012c27e7b532abd9a1d17c55f5
/usr/lib/.build-id/53
/usr/lib/.build-id/53/b3826c15e8a8a8209f9be81cf9de3559966f4a
/usr/lib/.build-id/55
/usr/lib/.build-id/55/ba2de57c06ca309892f326dc44274f862a0870
/usr/lib/.build-id/59
/usr/lib/.build-id/59/0d1e0a4d979c8810cf4ffde4eb41bf1676abb8
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/02d3866c6ccc4c3c0c24594883b220399be7f4
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/1ec79df89780172a43fbc88eb13aa5e48f5d97
/usr/lib/.build-id/64
/usr/lib/.build-id/64/1b5362f82ca323f5d89b1fdb9a3cf18942558e
/usr/lib/.build-id/67
/usr/lib/.build-id/67/dba82bea3dc7068ed88f23c221884a0664a15e
/usr/lib/.build-id/68
/usr/lib/.build-id/68/e04c94797a160aa6b18f1b02ee865d1f73c47b
/usr/lib/.build-id/70
/usr/lib/.build-id/70/80018566fafbd003fee469b423abc908ba2c7a
/usr/lib/.build-id/72
/usr/lib/.build-id/72/5f82b703148d9af7b0f68185681c0cab299838
/usr/lib/.build-id/79
/usr/lib/.build-id/79/4d84efaa319c76ca02c62f84b3cf84bd0f57be
/usr/lib/.build-id/87
/usr/lib/.build-id/87/668d454dd0ec4cc95cca3be7e8bd94ba0adea6
/usr/lib/.build-id/87/c014bd2189ffa9a0721d75decfaac6b4216454
/usr/lib/.build-id/88
/usr/lib/.build-id/88/6f20a397118dacf22916df9b8b83aab1cc55b6
/usr/lib/.build-id/89
/usr/lib/.build-id/89/08941100074ebff2216bc7351a9762151d2de4
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/206eb3bab706a60bfd99467a91b5b6c7ca550d
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/2391dec1ab0f95577ff4d03b85614357493c7e
/usr/lib/.build-id/8d/2391dec1ab0f95577ff4d03b85614357493c7e.1
/usr/lib/.build-id/8d/2391dec1ab0f95577ff4d03b85614357493c7e.2
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/4045912e6222374877edc2601135a64bfd31f3
/usr/lib/.build-id/94
/usr/lib/.build-id/94/498da95a8f9e8630dbab868ce86f989ba72624
/usr/lib/.build-id/98
/usr/lib/.build-id/98/e31ffb5173b754af55e32d8db149f01257ff25
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/9958ca1697e975e70cdacd4870a75231cda9d4
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/a33c44713176a3f53f36be315fb4e3b48113a8
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/f1ba152db719d6b69cb0100151d6abb32b23b8
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/ccb894863c99e5aabf298bffcc0c819c23fed4
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/9b3ee8aeda7346ddd065e078b8653c223873d9
/usr/lib/.build-id/a7
/usr/lib/.build-id/a7/034feb487008b54192761ae5462489216ee7b6
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/2ce90cdbcdf47f6d2146b942c00956216bc602
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/5b2f1143c4b4222b678cc0680404d3ccab7f0f
/usr/lib/.build-id/a9/eebb18eac606ee5a0d648be313e19da0fcca22
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/041280fad45d1d67b2258f1224a4403d1eddcc
/usr/lib/.build-id/ac/38551cbc2e2ce4b8fabf9763cf2b22d270bb15
/usr/lib/.build-id/ac/a9e9bd2ddb4d76e8d42da6e09620b3f080bae8
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/55b9bd4d772dd86a6a324a2b12e0a8553a755b
/usr/lib/.build-id/ad/8240ea0319a28652b8711e5157abb70a51fb1c
/usr/lib/.build-id/ad/a0f3addc404eb2be4c89fbb8546612593a8604
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/a3260eeaad3014dc11e12e84861058086ae941
/usr/lib/.build-id/af
/usr/lib/.build-id/af/6a2f9ae95d0c47d4e486598a30b9c4bc77b365
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/321e126b5efc77d8b9f685ebf6f3642b4ca07f
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/d57b5bd5a8c4d2cf65c6c2819e6a26f03f7ee4
/usr/lib/.build-id/be
/usr/lib/.build-id/be/075feab03bcc624ae53a57f2633d0575b4477e
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/40f73a8c3ab5ff3c0b033504dadde64005139b
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/23e69972d0f458749074defd9666160bbb7810
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/bbca75aa15f7cba64ab9eaa3efdaadd1efa36b
/usr/lib/.build-id/ca/e738824265028d027ee7b514e1ff0b168d1b4d
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/7f4e26f79b4d9bf7608c522dabc23a4cef412f
/usr/lib/.build-id/ce/d49d548fd5aa2f743fb07f87f5202836fc8f6f
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/813d661ee93c41c37f1a8b81788f0950ddab5e
/usr/lib/.build-id/cf/aa2eb16dad1fcc905d64525fe8edaa22b206c0
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/7101fafc88baaebd475eca15aed31bff3383ed
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/0358a4b009fed7b6a8e96b74b441b516693df9
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/51cad52e0f2e999061cf8c6eabdba876c6d40e
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/ac3a2161f018f26ea475aeb733b09da46d9848
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/85f9e8ac740ac8dcf3f30eeae95394c7d4caa2
/usr/lib/.build-id/da
/usr/lib/.build-id/da/e63438a8c4434aa8e5108a6d17d5de411238dc
/usr/lib/.build-id/db
/usr/lib/.build-id/db/27d62a51dfa1f18368f3cde8c2ef7cb72ee8b2
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/57da8f517a21a508fb40d1c54dcbf770057b02
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/377b7ce18ef511c79d0c52cabc99826ba36ffb
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/f47824225979cd5198cbfcf959b004d8eb4bd3
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/beb536989c5d06d1351effe6180963bb1981ae
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/b199132f2c907bf4e19412b2fdeb804878fc88
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/b6fe996f9f25a7e11c78b2d87981862fcb9f86
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/d7b5b9416a98cb40fa9162098f45d45f3c915f
/usr/lib/.build-id/fa/ed499fb5c85ea8270fa4ae615ed004f8c879d4
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/512579960c0a71e8b9a62ff4723281d0b69c1d
/usr/share/licenses/quantum-espresso
/usr/share/licenses/quantum-espresso/License

References

Summary

In this tutorial we learn how to install quantum-espresso on CentOS 8 using yum and dnf.