How to Install and Uninstall libmagic-dev Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 18,2024

1. Install "libmagic-dev" package

Here is a brief guide to show you how to install libmagic-dev on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libmagic-dev

2. Uninstall "libmagic-dev" package

Please follow the steps below to uninstall libmagic-dev on Ubuntu 21.10 (Impish Indri):

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

3. Information about the libmagic-dev package on Ubuntu 21.10 (Impish Indri)

Package: libmagic-dev
Architecture: amd64
Version: 1:5.39-3
Multi-Arch: same
Priority: optional
Section: libdevel
Source: file
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Christoph Biedl
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 386
Depends: libmagic1 (= 1:5.39-3)
Suggests: file
Filename: pool/main/f/file/libmagic-dev_5.39-3_amd64.deb
Size: 93076
MD5sum: f0833cd279cf8a395c8f9f3ed81ae04d
SHA1: ecaf34c6fff7322dbbc2ce44a9b53d33b940fd9f
SHA256: 0ae14ad112e3638ff39a3a77b84074376869287b9eb84ec8163c0fd464687dcd
SHA512: 516d07ce781912e1e767ad069df33869455733c5cf65be0066be4b0231b8362466b3fd11431e711bee30cf6141d885364ffeae2241abda442ca798ec60026da2
Homepage: https://www.darwinsys.com/file/
Description-en: Recognize the type of data in a file using "magic" numbers - development
This library can be used to classify files according to magic number
tests.
.
This package contains the development files.
Description-md5: 93c5eb9eca91d43fe4e08b91dec0e076