How to Install and Uninstall libmagic-dev Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 23,2024

1. Install "libmagic-dev" package

This is a short guide on how to install libmagic-dev on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install libmagic-dev

2. Uninstall "libmagic-dev" package

This guide let you learn how to uninstall libmagic-dev on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the libmagic-dev package on Ubuntu 20.04 LTS (Focal Fossa)

Package: libmagic-dev
Architecture: amd64
Version: 1:5.38-4
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: 368
Depends: libmagic1 (= 1:5.38-4)
Suggests: file
Filename: pool/main/f/file/libmagic-dev_5.38-4_amd64.deb
Size: 88316
MD5sum: 081b822235b442599dd74f8eed3fc268
SHA1: d830c39aeb0bb1a9a57e378da1dbb80cf02e073c
SHA256: 390a6c0916738f3e3897401c78e2795b83a45c224dc0c4388aeb5230ff6ebe84
Homepage: https://www.darwinsys.com/file/
Description: Recognize the type of data in a file using "magic" numbers - development
Description-md5: 93c5eb9eca91d43fe4e08b91dec0e076