How to Install and Uninstall libmagic-dev Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 16,2024

1. Install "libmagic-dev" package

Please follow the guidelines below to install libmagic-dev on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install libmagic-dev

2. Uninstall "libmagic-dev" package

Please follow the step by step instructions below to uninstall libmagic-dev on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the libmagic-dev package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: libmagic-dev
Architecture: amd64
Version: 1:5.25-2ubuntu1.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: 311
Depends: libmagic1 (= 1:5.25-2ubuntu1.4)
Suggests: file
Filename: pool/main/f/file/libmagic-dev_5.25-2ubuntu1.4_amd64.deb
Size: 74446
MD5sum: d1c7dd6444fc7793dff42f62e54f1637
SHA1: 2d5eedf51cdc65cdfb962f5113b0ed5f05885bfb
SHA256: 8c05d88ad383e14529901a7f4276627627d992a9707ca026d25a421dc95fb7e2
SHA512: 3615458111b0951a055d2f22785002c97243a31ed77cb3612468371d7dd49fc3a4101d05bdfdfa36b8a4bc70d5c1d960cd1c406d6783c41a92e08797ac51d726
Homepage: http://www.darwinsys.com/file/
Description-en: File type determination library using "magic" numbers (development)
This library can be used to classify files according to magic
number tests. It implements the core functionality of the file
command.
.
This package contains the development files.
Description-md5: c1d5c6d7ce53db45af32b9f31308ed98
Supported: 5y

Package: libmagic-dev
Priority: optional
Section: libdevel
Installed-Size: 301
Maintainer: Ubuntu Developers
Original-Maintainer: Christoph Biedl
Architecture: amd64
Source: file
Version: 1:5.25-2ubuntu1
Depends: libmagic1 (= 1:5.25-2ubuntu1)
Suggests: file
Filename: pool/main/f/file/libmagic-dev_5.25-2ubuntu1_amd64.deb
Size: 72000
MD5sum: ef10277522631a3340eddca58a48e707
SHA1: e9b320a75a26308c430d35645221522d184e92b2
SHA256: 018d7649bda842867fc4716b50338e8ee0ae4cff34cdfa44c6b5c133911a6717
Description-en: File type determination library using "magic" numbers (development)
This library can be used to classify files according to magic
number tests. It implements the core functionality of the file
command.
.
This package contains the development files.
Description-md5: c1d5c6d7ce53db45af32b9f31308ed98
Multi-Arch: same
Homepage: http://www.darwinsys.com/file/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 9m