How to Install and Uninstall python3-magic Package on Kali Linux

Last updated: February 03,2025

1. Install "python3-magic" package

This is a short guide on how to install python3-magic on Kali Linux

$ sudo apt update $ sudo apt install python3-magic

2. Uninstall "python3-magic" package

This guide covers the steps necessary to uninstall python3-magic on Kali Linux:

$ sudo apt remove python3-magic $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-magic package on Kali Linux

Package: python3-magic
Source: python-magic
Version: 2:0.4.27-2
Installed-Size: 56
Maintainer: Christoph Biedl
Architecture: all
Depends: python3:any, libmagic1 (>= 1:5.39)
Size: 14572
SHA256: 6a31de5fe43149dca919b46a160c1e80026be6346f0e5b2a3beb1996b5d21cc9
SHA1: cb8e7a3001663f6c7bddbbecc861d9dbcd8061f9
MD5sum: 991455419226aa0fe9df24cde198a37f
Description: python3 interface to the libmagic file type identification library
python-magic is a Python interface to the libmagic file type
identification library. libmagic identifies file types by checking
their headers according to a predefined list of file types. This
functionality is exposed to the command line by the Unix command file.
.
This package provides the Python 3 version of the python-magic module.
Description-md5:
Homepage: https://github.com/ahupp/python-magic/
Section: python
Priority: optional
Filename: pool/main/p/python-magic/python3-magic_0.4.27-2_all.deb