How to Install and Uninstall libmagic-dev Package on Debian 12 (Bookworm)
Last updated: January 12,2025
Notice
You can also install and uninstall the libmagic-dev on the following distributions in the same way, as they are all based on the Debian system
- MX Linux 23
- SparkyLinux
1. Install "libmagic-dev" package
Please follow the guidance below to install libmagic-dev on Debian 12 (Bookworm)
$
sudo apt update
Copied
$
sudo apt install
libmagic-dev
Copied
2. Uninstall "libmagic-dev" package
Please follow the steps below to uninstall libmagic-dev on Debian 12 (Bookworm):
$
sudo apt remove
libmagic-dev
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the libmagic-dev package on Debian 12 (Bookworm)
Package: libmagic-dev
Source: file
Version: 1:5.44-3
Installed-Size: 380
Maintainer: Christoph Biedl
Architecture: amd64
Depends: libmagic1 (= 1:5.44-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.44-3_amd64.deb
Size: 116428
MD5sum: 9a0fc347b3b58cbb464de0c8a913cf5c
SHA256: 3b379cd1f11ae741ddb3223c707eb3dd8bd8a928167c4d6d7b08ea87b02fae5a
Source: file
Version: 1:5.44-3
Installed-Size: 380
Maintainer: Christoph Biedl
Architecture: amd64
Depends: libmagic1 (= 1:5.44-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.44-3_amd64.deb
Size: 116428
MD5sum: 9a0fc347b3b58cbb464de0c8a913cf5c
SHA256: 3b379cd1f11ae741ddb3223c707eb3dd8bd8a928167c4d6d7b08ea87b02fae5a