How to Install and Uninstall libmagic1 Package on Debian 11 (Bullseye)

Last updated: May 03,2024

1. Install "libmagic1" package

Please follow the instructions below to install libmagic1 on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install libmagic1

2. Uninstall "libmagic1" package

This guide covers the steps necessary to uninstall libmagic1 on Debian 11 (Bullseye):

$ sudo apt remove libmagic1 $ sudo apt autoclean && sudo apt autoremove

3. Information about the libmagic1 package on Debian 11 (Bullseye)

Package: libmagic1
Source: file
Version: 1:5.39-3
Installed-Size: 250
Maintainer: Christoph Biedl
Architecture: amd64
Depends: libbz2-1.0, libc6 (>= 2.15), zlib1g (>= 1:1.1.4), libmagic-mgc (= 1:5.39-3)
Suggests: file
Description: Recognize the type of data in a file using "magic" numbers - library
Description-md5: 7c626dcc59dd225f2ce4a3522fed96e2
Multi-Arch: same
Homepage: https://www.darwinsys.com/file/
Tag: role::shared-lib
Section: libs
Priority: optional
Filename: pool/main/f/file/libmagic1_5.39-3_amd64.deb
Size: 126016
MD5sum: 22bb7aa85ffd2dee6cfd93fa76e42d4f
SHA256: 938490b59e2381fbd5ca13533c1c32480e2f4c95a2939be6586c7e27b79f58d6