How to Install and Uninstall python-magic Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 05,2024

1. Install "python-magic" package

Please follow the guidelines below to install python-magic on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-magic

2. Uninstall "python-magic" package

Please follow the guidance below to uninstall python-magic on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the python-magic package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python-magic
Architecture: all
Version: 1:5.25-2ubuntu1.4
Priority: extra
Section: universe/python
Source: file
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Christoph Biedl
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 53
Provides: python2.7-magic
Depends: python:any (<< 2.8), python:any (>= 2.7.5-5~), libmagic1 (>= 1:5.25-2ubuntu1.4), libmagic1 (<< 1:5.25-2ubuntu1.4.1~)
Filename: pool/universe/f/file/python-magic_5.25-2ubuntu1.4_all.deb
Size: 5376
MD5sum: a6804e18abb28657d4192612b08d0882
SHA1: a55bd3056d366f2b7acd712076e705f8e3090d11
SHA256: 93a9ec8346803d803d41d3773dd16a23714132398100c1db36b24b9916c6c4ec
SHA512: 63c7d2952fd543fb5126e2e6c76e376e5fd7658d90991c99f0beab6b97577ed57919f46e3ba67fe89d1cdd4004e8d6bafc616f05606a2bea4c67d9a181cb775c
Homepage: http://www.darwinsys.com/file/
Description-en: File type determination library using "magic" numbers (Python bindings)
This library can be used to classify files according to magic
number tests. It implements the core functionality of the file
command.
.
This package contains the Python bindings.
Description-md5: 714803ba45a3b415e35046231150f3da
Task: xubuntu-desktop, ubuntustudio-desktop
Supported: 3y

Package: python-magic
Priority: extra
Section: universe/python
Installed-Size: 53
Maintainer: Ubuntu Developers
Original-Maintainer: Christoph Biedl
Architecture: all
Source: file
Version: 1:5.25-2ubuntu1
Provides: python2.7-magic
Depends: python:any (<< 2.8), python:any (>= 2.7.5-5~), libmagic1 (>= 1:5.25-2ubuntu1), libmagic1 (<< 1:5.25-2ubuntu1.1~)
Filename: pool/universe/f/file/python-magic_5.25-2ubuntu1_all.deb
Size: 5374
MD5sum: c30574203c79e0388e8a9094a6de4c75
SHA1: a033b3d799e43201e988c50970b42e59748387c2
SHA256: bf39d70312e9060e982d31104b95f9c32aa3012e47f354b37e039bdc4717ecbc
Description-en: File type determination library using "magic" numbers (Python bindings)
This library can be used to classify files according to magic
number tests. It implements the core functionality of the file
command.
.
This package contains the Python bindings.
Description-md5: 714803ba45a3b415e35046231150f3da
Homepage: http://www.darwinsys.com/file/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 3y
Task: xubuntu-desktop, ubuntustudio-desktop