How to Install and Uninstall python3-magic Package on Ubuntu 16.04 LTS (Xenial Xerus)
Last updated: February 03,2025
1. Install "python3-magic" package
This is a short guide on how to install python3-magic on Ubuntu 16.04 LTS (Xenial Xerus)
$
sudo apt update
Copied
$
sudo apt install
python3-magic
Copied
2. Uninstall "python3-magic" package
Please follow the instructions below to uninstall python3-magic on Ubuntu 16.04 LTS (Xenial Xerus):
$
sudo apt remove
python3-magic
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the python3-magic package on Ubuntu 16.04 LTS (Xenial Xerus)
Package: python3-magic
Architecture: all
Version: 1:5.25-2ubuntu1.4
Priority: extra
Section: python
Source: file
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Christoph Biedl
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 53
Depends: python3:any (>= 3.3.2-2~), libmagic1 (>= 1:5.25-2ubuntu1.4), libmagic1 (<< 1:5.25-2ubuntu1.4.1~)
Filename: pool/main/f/file/python3-magic_5.25-2ubuntu1.4_all.deb
Size: 5440
MD5sum: 69a7541a45c3ef32281747ff8dbbbf93
SHA1: b8ad8ee9f6cbe35f2d46daec1fa6adddc2e8efeb
SHA256: 41f9f50f2e64a71b744c4a023c7f285adb33ef4f2ee0d6e70b653d7d4a34f9bd
SHA512: a108c1fca6fb093a658c9fa444c88698dbf13223671bdb1b91852b996753b4760773de98e1ca550b704d96faadb3039dc9491d7e30750780ed92f8854a266b3b
Homepage: http://www.darwinsys.com/file/
Description-en: File type determination library using "magic" numbers (Python 3 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 3 bindings.
Description-md5: 208f2e3d8e26bb22652afc61e8a48019
Task: ubuntu-sdk
Supported: 5y
Package: python3-magic
Priority: extra
Section: python
Installed-Size: 53
Maintainer: Ubuntu Developers
Original-Maintainer: Christoph Biedl
Architecture: all
Source: file
Version: 1:5.25-2ubuntu1
Depends: python3:any (>= 3.3.2-2~), libmagic1 (>= 1:5.25-2ubuntu1), libmagic1 (<< 1:5.25-2ubuntu1.1~)
Filename: pool/main/f/file/python3-magic_5.25-2ubuntu1_all.deb
Size: 5438
MD5sum: bcafe9238bf1065215429183f9eab052
SHA1: e7fb8c683f607ce569c3d756525a4939792b7fd5
SHA256: 056122dc4ba048143176a88a63fde93fe4cfd0a7217751131c4cc55f30fe95a4
Description-en: File type determination library using "magic" numbers (Python 3 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 3 bindings.
Description-md5: 208f2e3d8e26bb22652afc61e8a48019
Homepage: http://www.darwinsys.com/file/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: ubuntu-sdk
Architecture: all
Version: 1:5.25-2ubuntu1.4
Priority: extra
Section: python
Source: file
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Christoph Biedl
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 53
Depends: python3:any (>= 3.3.2-2~), libmagic1 (>= 1:5.25-2ubuntu1.4), libmagic1 (<< 1:5.25-2ubuntu1.4.1~)
Filename: pool/main/f/file/python3-magic_5.25-2ubuntu1.4_all.deb
Size: 5440
MD5sum: 69a7541a45c3ef32281747ff8dbbbf93
SHA1: b8ad8ee9f6cbe35f2d46daec1fa6adddc2e8efeb
SHA256: 41f9f50f2e64a71b744c4a023c7f285adb33ef4f2ee0d6e70b653d7d4a34f9bd
SHA512: a108c1fca6fb093a658c9fa444c88698dbf13223671bdb1b91852b996753b4760773de98e1ca550b704d96faadb3039dc9491d7e30750780ed92f8854a266b3b
Homepage: http://www.darwinsys.com/file/
Description-en: File type determination library using "magic" numbers (Python 3 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 3 bindings.
Description-md5: 208f2e3d8e26bb22652afc61e8a48019
Task: ubuntu-sdk
Supported: 5y
Package: python3-magic
Priority: extra
Section: python
Installed-Size: 53
Maintainer: Ubuntu Developers
Original-Maintainer: Christoph Biedl
Architecture: all
Source: file
Version: 1:5.25-2ubuntu1
Depends: python3:any (>= 3.3.2-2~), libmagic1 (>= 1:5.25-2ubuntu1), libmagic1 (<< 1:5.25-2ubuntu1.1~)
Filename: pool/main/f/file/python3-magic_5.25-2ubuntu1_all.deb
Size: 5438
MD5sum: bcafe9238bf1065215429183f9eab052
SHA1: e7fb8c683f607ce569c3d756525a4939792b7fd5
SHA256: 056122dc4ba048143176a88a63fde93fe4cfd0a7217751131c4cc55f30fe95a4
Description-en: File type determination library using "magic" numbers (Python 3 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 3 bindings.
Description-md5: 208f2e3d8e26bb22652afc61e8a48019
Homepage: http://www.darwinsys.com/file/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: ubuntu-sdk