How To Install python3-xcfun on Fedora 36
Introduction
In this tutorial we learn how to install python3-xcfun
on Fedora 36.
What is python3-xcfun
XCFun is a library of approximate exchange-correlation functionals, used in the Density Functional Theory description of electronic structure. Because XCFun is based on automatic differentiation the library can provide arbitrary order derivatives of all supported functionals. Only the exchange-correlation energy expression needs to be implemented, which is a huge gain in productivity (and also efficiency). For this reason the library is very well suited for high order time dependent DFT or for the development of new functionals. This package contains the Python bindings for XCFun.
We can use yum
or dnf
to install python3-xcfun
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-xcfun.
Install python3-xcfun 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 python3-xcfun
using dnf
by running the following command:
sudo dnf -y install python3-xcfun
Install python3-xcfun 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 python3-xcfun
using yum
by running the following command:
sudo yum -y install python3-xcfun
How To Uninstall python3-xcfun on Fedora 36
To uninstall only the python3-xcfun
package we can use the following command:
sudo dnf remove python3-xcfun
python3-xcfun Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/87
/usr/lib/.build-id/87/1c22cda413f5f1893bd26ffa9bbfb00e0a26a9
/usr/lib64/python3.10/site-packages/xcfun
/usr/lib64/python3.10/site-packages/xcfun/__init__.py
/usr/lib64/python3.10/site-packages/xcfun/__pycache__
/usr/lib64/python3.10/site-packages/xcfun/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/xcfun/__pycache__/__init__.cpython-310.pyc
/usr/lib64/python3.10/site-packages/xcfun/__pycache__/xcfun.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/xcfun/__pycache__/xcfun.cpython-310.pyc
/usr/lib64/python3.10/site-packages/xcfun/_xcfun.cpython-310-x86_64-linux-gnu.so
/usr/lib64/python3.10/site-packages/xcfun/tests
/usr/lib64/python3.10/site-packages/xcfun/tests/__pycache__
/usr/lib64/python3.10/site-packages/xcfun/tests/__pycache__/test_xcfun.cpython-310.opt-1.pyc
/usr/lib64/python3.10/site-packages/xcfun/tests/__pycache__/test_xcfun.cpython-310.pyc
/usr/lib64/python3.10/site-packages/xcfun/tests/test_xcfun.py
/usr/lib64/python3.10/site-packages/xcfun/xcfun.py
References
Summary
In this tutorial we learn how to install python3-xcfun
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).