How to Install and Uninstall libmagic-dev Package on Debian 11 (Bullseye)

Last updated: November 23,2024

1. Install "libmagic-dev" package

Please follow the steps below to install libmagic-dev on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install libmagic-dev

2. Uninstall "libmagic-dev" package

Please follow the instructions below to uninstall libmagic-dev on Debian 11 (Bullseye):

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

3. Information about the libmagic-dev package on Debian 11 (Bullseye)

Package: libmagic-dev
Source: file
Version: 1:5.39-3
Installed-Size: 400
Maintainer: Christoph Biedl
Architecture: amd64
Depends: libmagic1 (= 1:5.39-3)
Suggests: file
Description: Recognize the type of data in a file using "magic" numbers - development
Description-md5: 93c5eb9eca91d43fe4e08b91dec0e076
Multi-Arch: same
Homepage: https://www.darwinsys.com/file/
Tag: devel::lang:c, devel::library, implemented-in::c, role::devel-lib
Section: libdevel
Priority: optional
Filename: pool/main/f/file/libmagic-dev_5.39-3_amd64.deb
Size: 138232
MD5sum: 0ac4b19e74292ff37f790838a1171376
SHA256: f231cb56d1d30bf7e7bf9b4ed7458aca7d0c8e1b97d8ce4c0fefbfc894bc5b61