How to Install and Uninstall python3-magic Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: May 15,2024

1. Install "python3-magic" package

This is a short guide on how to install python3-magic on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install python3-magic

2. Uninstall "python3-magic" package

Please follow the steps below to uninstall python3-magic on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the python3-magic package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: python3-magic
Architecture: all
Version: 2:0.4.24-2
Priority: extra
Section: python
Source: python-magic
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Christoph Biedl
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 51
Depends: python3:any, libmagic1 (>= 1:5.39)
Filename: pool/main/p/python-magic/python3-magic_0.4.24-2_all.deb
Size: 12584
MD5sum: 4e95229fc12f8d184e234d5e2b69cdea
SHA1: a59658672f6d543d4318e21df1acc06c86290472
SHA256: c3cfa9c86191b30f3822b781b8e2b45ba7dce1d6f27e6010f3bba6c32ee014f9
SHA512: fa3a81cfb753139678adf5e2c315a35e7c76313ef9f52e70b6a2f4b7aeaa8868c9272e375dc2ecf43d59c5489d07e44be6a288e9d4fdb3cff5444cb3e40ac0b9
Homepage: https://github.com/ahupp/python-magic/
Description: python3 interface to the libmagic file type identification library
Description-md5: 817dcc0dd09a2b51b18d857867344c1f