How to Install and Uninstall libmagic-dev Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 20,2024

1. Install "libmagic-dev" package

Here is a brief guide to show you how to install libmagic-dev on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install libmagic-dev

2. Uninstall "libmagic-dev" package

Please follow the guidance below to uninstall libmagic-dev on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the libmagic-dev package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: libmagic-dev
Architecture: amd64
Version: 1:5.32-2ubuntu0.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: 330
Depends: libmagic1 (= 1:5.32-2ubuntu0.4)
Suggests: file
Filename: pool/main/f/file/libmagic-dev_5.32-2ubuntu0.4_amd64.deb
Size: 79660
MD5sum: f90b16221bf5e66a993bf39bd5c7543d
SHA1: 0f403579545a639026d33443e645a264c98648d3
SHA256: 712a43cdea4b960efe4aa46028c065ba5b567b63c5186fe9c8c31f8f7d28a27c
SHA512: 5a06d5ae587dc5ea6f3260f6bb62ed28c58980fdb5df8c2e2a153c0e68d35042160cb75d2590d2c61a58f915b6ec5763c7e5e5869e81abd4f02c7f347be7f742
Homepage: http://www.darwinsys.com/file/
Description: Recognize the type of data in a file using "magic" numbers - development
Description-md5: 93c5eb9eca91d43fe4e08b91dec0e076
Supported: 5y

Package: libmagic-dev
Architecture: amd64
Version: 1:5.32-2
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: 329
Depends: libmagic1 (= 1:5.32-2)
Suggests: file
Filename: pool/main/f/file/libmagic-dev_5.32-2_amd64.deb
Size: 79444
MD5sum: e316092db757fbfd57714cdf51041b0a
SHA1: 293c28b83df15de2fe16309b84cf4ac4fd5ee26f
SHA256: 8b4cdf975ac0478731ac38201ae125dd9c4c19dbedcf4bc1b872fc5e0c14d753
Homepage: http://www.darwinsys.com/file/
Description: Recognize the type of data in a file using "magic" numbers - development
Description-md5: 93c5eb9eca91d43fe4e08b91dec0e076
Supported: 5y