How to Install and Uninstall libmagic-mgc Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 08,2024

1. Install "libmagic-mgc" package

Here is a brief guide to show you how to install libmagic-mgc on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libmagic-mgc

2. Uninstall "libmagic-mgc" package

Please follow the instructions below to uninstall libmagic-mgc on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libmagic-mgc $ sudo apt autoclean && sudo apt autoremove

3. Information about the libmagic-mgc package on Ubuntu 21.04 (Hirsute Hippo)

Package: libmagic-mgc
Architecture: amd64
Version: 1:5.39-3
Multi-Arch: foreign
Priority: standard
Section: libs
Source: file
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Christoph Biedl
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 6537
Breaks: libmagic1 (<< 1:5.28-4~)
Replaces: libmagic1 (<< 1:5.28-4~)
Filename: pool/main/f/file/libmagic-mgc_5.39-3_amd64.deb
Size: 228236
MD5sum: 779c6e9e56a72c09812b37db9dbb4eef
SHA1: 5b766bffb5a551e14b3921ae1a67693b51cbfcd4
SHA256: 319e6ee70a9a3ea657cbe3ef5640522d8574ed757776b3d2d24d86aac421a40e
SHA512: 24f0d5d1aef9bd0755db6e72e1ad58214711066b6f9738c0b923415172077788993ad436a52da7e625b7217887657a7572d2efa87f5a19be15a71c9cdac5e6a6
Homepage: https://www.darwinsys.com/file/
Description-en: File type determination library using "magic" numbers (compiled magic file)
This package provides the compiled magic file "magic.mgc". It has
been separated from libmagic1 in order to meet the multiarch
requirements without breaking applications that expect this file
at its absolute path.
Description-md5: c07466749281f11241806ce6580a59bb
Task: standard