How To Install python39-cffi on Rocky Linux 8
Introduction
In this tutorial we learn how to install python39-cffi
on Rocky Linux 8.
What is python39-cffi
Foreign Function Interface for Python, providing a convenient and reliable way of calling existing C code from Python. The interface is based on LuaJIT’s FFI.
We can use yum
or dnf
to install python39-cffi
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python39-cffi.
Install python39-cffi 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 python39-cffi
using dnf
by running the following command:
sudo dnf -y install python39-cffi
Install python39-cffi 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 python39-cffi
using yum
by running the following command:
sudo yum -y install python39-cffi
How To Uninstall python39-cffi on Rocky Linux 8
To uninstall only the python39-cffi
package we can use the following command:
sudo dnf remove python39-cffi
python39-cffi Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/0b497af08d8697a54f6cf558a5c63b6ef97b4d
/usr/lib64/python3.9/site-packages/_cffi_backend.cpython-39-x86_64-linux-gnu.so
/usr/lib64/python3.9/site-packages/cffi
/usr/lib64/python3.9/site-packages/cffi-1.14.3-py3.9.egg-info
/usr/lib64/python3.9/site-packages/cffi-1.14.3-py3.9.egg-info/PKG-INFO
/usr/lib64/python3.9/site-packages/cffi-1.14.3-py3.9.egg-info/SOURCES.txt
/usr/lib64/python3.9/site-packages/cffi-1.14.3-py3.9.egg-info/dependency_links.txt
/usr/lib64/python3.9/site-packages/cffi-1.14.3-py3.9.egg-info/entry_points.txt
/usr/lib64/python3.9/site-packages/cffi-1.14.3-py3.9.egg-info/not-zip-safe
/usr/lib64/python3.9/site-packages/cffi-1.14.3-py3.9.egg-info/requires.txt
/usr/lib64/python3.9/site-packages/cffi-1.14.3-py3.9.egg-info/top_level.txt
/usr/lib64/python3.9/site-packages/cffi/__init__.py
/usr/lib64/python3.9/site-packages/cffi/__pycache__
/usr/lib64/python3.9/site-packages/cffi/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/cffi/__pycache__/__init__.cpython-39.pyc
/usr/lib64/python3.9/site-packages/cffi/__pycache__/api.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/cffi/__pycache__/api.cpython-39.pyc
/usr/lib64/python3.9/site-packages/cffi/__pycache__/backend_ctypes.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/cffi/__pycache__/backend_ctypes.cpython-39.pyc
/usr/lib64/python3.9/site-packages/cffi/__pycache__/cffi_opcode.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/cffi/__pycache__/cffi_opcode.cpython-39.pyc
/usr/lib64/python3.9/site-packages/cffi/__pycache__/commontypes.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/cffi/__pycache__/commontypes.cpython-39.pyc
/usr/lib64/python3.9/site-packages/cffi/__pycache__/cparser.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/cffi/__pycache__/cparser.cpython-39.pyc
/usr/lib64/python3.9/site-packages/cffi/__pycache__/error.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/cffi/__pycache__/error.cpython-39.pyc
/usr/lib64/python3.9/site-packages/cffi/__pycache__/ffiplatform.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/cffi/__pycache__/ffiplatform.cpython-39.pyc
/usr/lib64/python3.9/site-packages/cffi/__pycache__/lock.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/cffi/__pycache__/lock.cpython-39.pyc
/usr/lib64/python3.9/site-packages/cffi/__pycache__/model.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/cffi/__pycache__/model.cpython-39.pyc
/usr/lib64/python3.9/site-packages/cffi/__pycache__/pkgconfig.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/cffi/__pycache__/pkgconfig.cpython-39.pyc
/usr/lib64/python3.9/site-packages/cffi/__pycache__/recompiler.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/cffi/__pycache__/recompiler.cpython-39.pyc
/usr/lib64/python3.9/site-packages/cffi/__pycache__/setuptools_ext.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/cffi/__pycache__/setuptools_ext.cpython-39.pyc
/usr/lib64/python3.9/site-packages/cffi/__pycache__/vengine_cpy.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/cffi/__pycache__/vengine_cpy.cpython-39.pyc
/usr/lib64/python3.9/site-packages/cffi/__pycache__/vengine_gen.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/cffi/__pycache__/vengine_gen.cpython-39.pyc
/usr/lib64/python3.9/site-packages/cffi/__pycache__/verifier.cpython-39.opt-1.pyc
/usr/lib64/python3.9/site-packages/cffi/__pycache__/verifier.cpython-39.pyc
/usr/lib64/python3.9/site-packages/cffi/_cffi_errors.h
/usr/lib64/python3.9/site-packages/cffi/_cffi_include.h
/usr/lib64/python3.9/site-packages/cffi/_embedding.h
/usr/lib64/python3.9/site-packages/cffi/api.py
/usr/lib64/python3.9/site-packages/cffi/backend_ctypes.py
/usr/lib64/python3.9/site-packages/cffi/cffi_opcode.py
/usr/lib64/python3.9/site-packages/cffi/commontypes.py
/usr/lib64/python3.9/site-packages/cffi/cparser.py
/usr/lib64/python3.9/site-packages/cffi/error.py
/usr/lib64/python3.9/site-packages/cffi/ffiplatform.py
/usr/lib64/python3.9/site-packages/cffi/lock.py
/usr/lib64/python3.9/site-packages/cffi/model.py
/usr/lib64/python3.9/site-packages/cffi/parse_c_type.h
/usr/lib64/python3.9/site-packages/cffi/pkgconfig.py
/usr/lib64/python3.9/site-packages/cffi/recompiler.py
/usr/lib64/python3.9/site-packages/cffi/setuptools_ext.py
/usr/lib64/python3.9/site-packages/cffi/vengine_cpy.py
/usr/lib64/python3.9/site-packages/cffi/vengine_gen.py
/usr/lib64/python3.9/site-packages/cffi/verifier.py
/usr/share/doc/python39-cffi
/usr/share/doc/python39-cffi/PKG-INFO
/usr/share/licenses/python39-cffi
/usr/share/licenses/python39-cffi/LICENSE
References
Summary
In this tutorial we learn how to install python39-cffi
on Rocky Linux 8 using yum and dnf.