How to Install and Uninstall python3-magic Package on Debian 12 (Bookworm)

Last updated: July 04,2024

1. Install "python3-magic" package

Here is a brief guide to show you how to install python3-magic on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install python3-magic

2. Uninstall "python3-magic" package

This guide covers the steps necessary to uninstall python3-magic on Debian 12 (Bookworm):

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

3. Information about the python3-magic package on Debian 12 (Bookworm)

Package: python3-magic
Source: python-magic
Version: 2:0.4.26-3
Installed-Size: 56
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.26-3_all.deb
Size: 14476
MD5sum: 03bf657db5b1bd7bcfc999df13d51d9a
SHA256: 314b8726293be4c6efd3cfa41346cd285c8670f75f4a0df33b6771269c778048