How to Install and Uninstall libmagic-dev Package on Linux Mint 21 (Vanessa)

Last updated: December 28,2024

1. Install "libmagic-dev" package

In this section, we are going to explain the necessary steps to install libmagic-dev on Linux Mint 21 (Vanessa)

$ sudo apt update $ sudo apt install libmagic-dev

2. Uninstall "libmagic-dev" package

Please follow the instructions below to uninstall libmagic-dev on Linux Mint 21 (Vanessa):

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

3. Information about the libmagic-dev package on Linux Mint 21 (Vanessa)

Package: libmagic-dev
Architecture: amd64
Version: 1:5.41-3ubuntu0.1
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: 380
Depends: libmagic1 (= 1:5.41-3ubuntu0.1)
Suggests: file
Filename: pool/main/f/file/libmagic-dev_5.41-3ubuntu0.1_amd64.deb
Size: 104946
MD5sum: 4d77d501686c92ece99876f521415c94
SHA1: 3f6e0ff049af33a4ea1ec2087ae5b79492ff6ede
SHA256: 37e4a19bf4b60de99cce734e65e4a4ddaf3763740e0f7737db51068e2f540532
SHA512: 2351926c5abfe2686b01d0820efc8b85b455689af63942962e7b43524961f0482843b917e32fc2a7cd649d4920c3660e9e1042c06f13739eed0975061e0cc756
Homepage: https://www.darwinsys.com/file/
Description: Recognize the type of data in a file using "magic" numbers - development
Description-md5: 93c5eb9eca91d43fe4e08b91dec0e076

Package: libmagic-dev
Architecture: amd64
Version: 1:5.41-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: 379
Depends: libmagic1 (= 1:5.41-3)
Suggests: file
Filename: pool/main/f/file/libmagic-dev_5.41-3_amd64.deb
Size: 104926
MD5sum: 82413e75474e16eb3a3f9ea2e9682a0a
SHA1: fcee93ea6ab17a072c7553111b33dfba21677a07
SHA256: 6a87775f92bfcec0dfee8361e7862d73478f19fa5af25c946ce1c2dd0db3c855
SHA512: a98873870b0833bdb474973562d965c9590795684cb14dfbfe347d23e448e6f2253de728ab36bf9abf0b79578266d6723832b4861494493a0c2eb6fdc9cf703d
Homepage: https://www.darwinsys.com/file/
Description: Recognize the type of data in a file using "magic" numbers - development
Description-md5: 93c5eb9eca91d43fe4e08b91dec0e076