How to Install and Uninstall python3-magic Package on Debian 11 (Bullseye)

Last updated: November 22,2024

1. Install "python3-magic" package

Please follow the steps below to install python3-magic on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install python3-magic

2. Uninstall "python3-magic" package

Please follow the step by step instructions below to uninstall python3-magic on Debian 11 (Bullseye):

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

3. Information about the python3-magic package on Debian 11 (Bullseye)

Package: python3-magic
Source: python-magic
Version: 2:0.4.20-3
Installed-Size: 53
Maintainer: Christoph Biedl
Architecture: all
Depends: python3:any, libmagic1 (>= 1:5.39)
Description: python3 interface to the libmagic file type identification library
Description-md5: 817dcc0dd09a2b51b18d857867344c1f
Homepage: https://github.com/ahupp/python-magic/
Section: python
Priority: optional
Filename: pool/main/p/python-magic/python3-magic_0.4.20-3_all.deb
Size: 13400
MD5sum: 2367df17bbea1a6cea0bc0707880e479
SHA256: c1436d98aca9aae9544dd3e218f7f220ccc46a6a98cb7922d1229942b8d5798a