How To Install python38-cffi on Rocky Linux 8

In this tutorial we learn how to install python38-cffi on Rocky Linux 8. python38-cffi is Foreign Function Interface for Python 3 to call C code

Introduction

In this tutorial we learn how to install python38-cffi on Rocky Linux 8.

What is python38-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 python38-cffi on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python38-cffi.

Install python38-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 python38-cffi using dnf by running the following command:

sudo dnf -y install python38-cffi

Install python38-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 python38-cffi using yum by running the following command:

sudo yum -y install python38-cffi

How To Uninstall python38-cffi on Rocky Linux 8

To uninstall only the python38-cffi package we can use the following command:

sudo dnf remove python38-cffi

python38-cffi Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/44
/usr/lib/.build-id/44/dbab6de867359e5fab01214fc1d7dbe284b36c
/usr/lib64/python3.8/site-packages/_cffi_backend.cpython-38-x86_64-linux-gnu.so
/usr/lib64/python3.8/site-packages/cffi
/usr/lib64/python3.8/site-packages/cffi-1.13.2-py3.8.egg-info
/usr/lib64/python3.8/site-packages/cffi-1.13.2-py3.8.egg-info/PKG-INFO
/usr/lib64/python3.8/site-packages/cffi-1.13.2-py3.8.egg-info/SOURCES.txt
/usr/lib64/python3.8/site-packages/cffi-1.13.2-py3.8.egg-info/dependency_links.txt
/usr/lib64/python3.8/site-packages/cffi-1.13.2-py3.8.egg-info/entry_points.txt
/usr/lib64/python3.8/site-packages/cffi-1.13.2-py3.8.egg-info/not-zip-safe
/usr/lib64/python3.8/site-packages/cffi-1.13.2-py3.8.egg-info/requires.txt
/usr/lib64/python3.8/site-packages/cffi-1.13.2-py3.8.egg-info/top_level.txt
/usr/lib64/python3.8/site-packages/cffi/__init__.py
/usr/lib64/python3.8/site-packages/cffi/__pycache__
/usr/lib64/python3.8/site-packages/cffi/__pycache__/__init__.cpython-38.opt-1.pyc
/usr/lib64/python3.8/site-packages/cffi/__pycache__/__init__.cpython-38.pyc
/usr/lib64/python3.8/site-packages/cffi/__pycache__/api.cpython-38.opt-1.pyc
/usr/lib64/python3.8/site-packages/cffi/__pycache__/api.cpython-38.pyc
/usr/lib64/python3.8/site-packages/cffi/__pycache__/backend_ctypes.cpython-38.opt-1.pyc
/usr/lib64/python3.8/site-packages/cffi/__pycache__/backend_ctypes.cpython-38.pyc
/usr/lib64/python3.8/site-packages/cffi/__pycache__/cffi_opcode.cpython-38.opt-1.pyc
/usr/lib64/python3.8/site-packages/cffi/__pycache__/cffi_opcode.cpython-38.pyc
/usr/lib64/python3.8/site-packages/cffi/__pycache__/commontypes.cpython-38.opt-1.pyc
/usr/lib64/python3.8/site-packages/cffi/__pycache__/commontypes.cpython-38.pyc
/usr/lib64/python3.8/site-packages/cffi/__pycache__/cparser.cpython-38.opt-1.pyc
/usr/lib64/python3.8/site-packages/cffi/__pycache__/cparser.cpython-38.pyc
/usr/lib64/python3.8/site-packages/cffi/__pycache__/error.cpython-38.opt-1.pyc
/usr/lib64/python3.8/site-packages/cffi/__pycache__/error.cpython-38.pyc
/usr/lib64/python3.8/site-packages/cffi/__pycache__/ffiplatform.cpython-38.opt-1.pyc
/usr/lib64/python3.8/site-packages/cffi/__pycache__/ffiplatform.cpython-38.pyc
/usr/lib64/python3.8/site-packages/cffi/__pycache__/lock.cpython-38.opt-1.pyc
/usr/lib64/python3.8/site-packages/cffi/__pycache__/lock.cpython-38.pyc
/usr/lib64/python3.8/site-packages/cffi/__pycache__/model.cpython-38.opt-1.pyc
/usr/lib64/python3.8/site-packages/cffi/__pycache__/model.cpython-38.pyc
/usr/lib64/python3.8/site-packages/cffi/__pycache__/pkgconfig.cpython-38.opt-1.pyc
/usr/lib64/python3.8/site-packages/cffi/__pycache__/pkgconfig.cpython-38.pyc
/usr/lib64/python3.8/site-packages/cffi/__pycache__/recompiler.cpython-38.opt-1.pyc
/usr/lib64/python3.8/site-packages/cffi/__pycache__/recompiler.cpython-38.pyc
/usr/lib64/python3.8/site-packages/cffi/__pycache__/setuptools_ext.cpython-38.opt-1.pyc
/usr/lib64/python3.8/site-packages/cffi/__pycache__/setuptools_ext.cpython-38.pyc
/usr/lib64/python3.8/site-packages/cffi/__pycache__/vengine_cpy.cpython-38.opt-1.pyc
/usr/lib64/python3.8/site-packages/cffi/__pycache__/vengine_cpy.cpython-38.pyc
/usr/lib64/python3.8/site-packages/cffi/__pycache__/vengine_gen.cpython-38.opt-1.pyc
/usr/lib64/python3.8/site-packages/cffi/__pycache__/vengine_gen.cpython-38.pyc
/usr/lib64/python3.8/site-packages/cffi/__pycache__/verifier.cpython-38.opt-1.pyc
/usr/lib64/python3.8/site-packages/cffi/__pycache__/verifier.cpython-38.pyc
/usr/lib64/python3.8/site-packages/cffi/_cffi_errors.h
/usr/lib64/python3.8/site-packages/cffi/_cffi_include.h
/usr/lib64/python3.8/site-packages/cffi/_embedding.h
/usr/lib64/python3.8/site-packages/cffi/api.py
/usr/lib64/python3.8/site-packages/cffi/backend_ctypes.py
/usr/lib64/python3.8/site-packages/cffi/cffi_opcode.py
/usr/lib64/python3.8/site-packages/cffi/commontypes.py
/usr/lib64/python3.8/site-packages/cffi/cparser.py
/usr/lib64/python3.8/site-packages/cffi/error.py
/usr/lib64/python3.8/site-packages/cffi/ffiplatform.py
/usr/lib64/python3.8/site-packages/cffi/lock.py
/usr/lib64/python3.8/site-packages/cffi/model.py
/usr/lib64/python3.8/site-packages/cffi/parse_c_type.h
/usr/lib64/python3.8/site-packages/cffi/pkgconfig.py
/usr/lib64/python3.8/site-packages/cffi/recompiler.py
/usr/lib64/python3.8/site-packages/cffi/setuptools_ext.py
/usr/lib64/python3.8/site-packages/cffi/vengine_cpy.py
/usr/lib64/python3.8/site-packages/cffi/vengine_gen.py
/usr/lib64/python3.8/site-packages/cffi/verifier.py
/usr/share/doc/python38-cffi
/usr/share/doc/python38-cffi/PKG-INFO
/usr/share/licenses/python38-cffi
/usr/share/licenses/python38-cffi/LICENSE

References

Summary

In this tutorial we learn how to install python38-cffi on Rocky Linux 8 using yum and dnf.