How To Install python3-filetype on Fedora 36
Introduction
In this tutorial we learn how to install python3-filetype
on Fedora 36.
What is python3-filetype
Small and dependency free Python package to infer file type and MIME type checking the magic numbers signature of a file or buffer.
We can use yum
or dnf
to install python3-filetype
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-filetype.
Install python3-filetype 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-filetype
using dnf
by running the following command:
sudo dnf -y install python3-filetype
Install python3-filetype 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-filetype
using yum
by running the following command:
sudo yum -y install python3-filetype
How To Uninstall python3-filetype on Fedora 36
To uninstall only the python3-filetype
package we can use the following command:
sudo dnf remove python3-filetype
python3-filetype Package Contents on Fedora 36
/usr/lib/python3.10/site-packages/filetype
/usr/lib/python3.10/site-packages/filetype-1.0.7-py3.10.egg-info
/usr/lib/python3.10/site-packages/filetype-1.0.7-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/filetype-1.0.7-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/filetype-1.0.7-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/filetype-1.0.7-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/filetype-1.0.7-py3.10.egg-info/zip-safe
/usr/lib/python3.10/site-packages/filetype/__init__.py
/usr/lib/python3.10/site-packages/filetype/__pycache__
/usr/lib/python3.10/site-packages/filetype/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/filetype/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/filetype/__pycache__/filetype.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/filetype/__pycache__/filetype.cpython-310.pyc
/usr/lib/python3.10/site-packages/filetype/__pycache__/helpers.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/filetype/__pycache__/helpers.cpython-310.pyc
/usr/lib/python3.10/site-packages/filetype/__pycache__/match.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/filetype/__pycache__/match.cpython-310.pyc
/usr/lib/python3.10/site-packages/filetype/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/filetype/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/filetype/filetype.py
/usr/lib/python3.10/site-packages/filetype/helpers.py
/usr/lib/python3.10/site-packages/filetype/match.py
/usr/lib/python3.10/site-packages/filetype/types
/usr/lib/python3.10/site-packages/filetype/types/__init__.py
/usr/lib/python3.10/site-packages/filetype/types/__pycache__
/usr/lib/python3.10/site-packages/filetype/types/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/filetype/types/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/filetype/types/__pycache__/archive.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/filetype/types/__pycache__/archive.cpython-310.pyc
/usr/lib/python3.10/site-packages/filetype/types/__pycache__/audio.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/filetype/types/__pycache__/audio.cpython-310.pyc
/usr/lib/python3.10/site-packages/filetype/types/__pycache__/base.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/filetype/types/__pycache__/base.cpython-310.pyc
/usr/lib/python3.10/site-packages/filetype/types/__pycache__/font.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/filetype/types/__pycache__/font.cpython-310.pyc
/usr/lib/python3.10/site-packages/filetype/types/__pycache__/image.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/filetype/types/__pycache__/image.cpython-310.pyc
/usr/lib/python3.10/site-packages/filetype/types/__pycache__/isobmff.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/filetype/types/__pycache__/isobmff.cpython-310.pyc
/usr/lib/python3.10/site-packages/filetype/types/__pycache__/video.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/filetype/types/__pycache__/video.cpython-310.pyc
/usr/lib/python3.10/site-packages/filetype/types/archive.py
/usr/lib/python3.10/site-packages/filetype/types/audio.py
/usr/lib/python3.10/site-packages/filetype/types/base.py
/usr/lib/python3.10/site-packages/filetype/types/font.py
/usr/lib/python3.10/site-packages/filetype/types/image.py
/usr/lib/python3.10/site-packages/filetype/types/isobmff.py
/usr/lib/python3.10/site-packages/filetype/types/video.py
/usr/lib/python3.10/site-packages/filetype/utils.py
/usr/share/doc/python3-filetype
/usr/share/doc/python3-filetype/History.md
/usr/share/doc/python3-filetype/README.rst
/usr/share/doc/python3-filetype/examples
/usr/share/doc/python3-filetype/examples/buffer.py
/usr/share/doc/python3-filetype/examples/bytes.py
/usr/share/doc/python3-filetype/examples/file.py
/usr/share/licenses/python3-filetype
/usr/share/licenses/python3-filetype/LICENSE
References
Summary
In this tutorial we learn how to install python3-filetype
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).