How to Install and Uninstall python-magic Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 07,2024

1. Install "python-magic" package

Please follow the guidelines below to install python-magic on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install python-magic

2. Uninstall "python-magic" package

This guide let you learn how to uninstall python-magic on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the python-magic package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: python-magic
Architecture: all
Version: 2:0.4.15-1
Priority: extra
Section: universe/python
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Christoph Biedl
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 42
Provides: python2.7-magic
Depends: python:any (<< 2.8), python:any (>= 2.7.5-5~), libmagic1
Filename: pool/universe/p/python-magic/python-magic_0.4.15-1_all.deb
Size: 9192
MD5sum: e08398c7bca9f0dbe8ee39e4ddc33a0a
SHA1: 8f2e76a8ed301ffa406beff3aa2aa8b4d0e691a6
SHA256: e783be0bd9ff658d0ac6c05b9929b45288ab22a87079be96fc0d936abc1f68a1
Homepage: https://github.com/ahupp/python-magic/
Description: python2 interface to the libmagic file type identification library
Description-md5: 41d722658abf09c7e84323e9cf21538a
Task: ubuntustudio-audio
Python-Version: 2.7