How to Install and Uninstall python-magic Package on Debian 10 (Buster)

Last updated: April 24,2024

1. Install "python-magic" package

Please follow the guidance below to install python-magic on Debian 10 (Buster)

$ sudo apt update $ sudo apt install python-magic

2. Uninstall "python-magic" package

This tutorial shows how to uninstall python-magic on Debian 10 (Buster):

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

3. Information about the python-magic package on Debian 10 (Buster)

Package: python-magic
Version: 2:0.4.15-2
Installed-Size: 42
Maintainer: Christoph Biedl
Architecture: all
Provides: python2.7-magic
Depends: python:any (<< 2.8), python:any (>= 2.7.5-5~), libmagic1
Description: python2 interface to the libmagic file type identification library
Description-md5: 41d722658abf09c7e84323e9cf21538a
Homepage: https://github.com/ahupp/python-magic/
Python-Version: 2.7
Tag: devel::lang:python, devel::library, implemented-in::c,
implemented-in::python, role::devel-lib, role::program,
role::shared-lib, use::analysing, works-with::file
Section: python
Priority: optional
Filename: pool/main/p/python-magic/python-magic_0.4.15-2_all.deb
Size: 9196
MD5sum: 4c2c091200138da8da3021df7e7be4dd
SHA256: 29aad46fd1ef319c9f17c31c3d765819f260611920bfa184e79aa0f851cc9499