How to Install and Uninstall libmagic1 Package on Debian 10 (Buster)

Last updated: May 21,2024

1. Install "libmagic1" package

This tutorial shows how to install libmagic1 on Debian 10 (Buster)

$ sudo apt update $ sudo apt install libmagic1

2. Uninstall "libmagic1" package

This guide let you learn how to uninstall libmagic1 on Debian 10 (Buster):

$ sudo apt remove libmagic1 $ sudo apt autoclean && sudo apt autoremove

3. Information about the libmagic1 package on Debian 10 (Buster)

Package: libmagic1
Source: file
Version: 1:5.35-4+deb10u2
Installed-Size: 233
Maintainer: Christoph Biedl
Architecture: amd64
Depends: libc6 (>= 2.15), zlib1g (>= 1:1.1.4), libmagic-mgc (= 1:5.35-4+deb10u2)
Suggests: file
Description: Recognize the type of data in a file using "magic" numbers - library
Description-md5: 7c626dcc59dd225f2ce4a3522fed96e2
Multi-Arch: same
Homepage: https://www.darwinsys.com/file/
Tag: role::shared-lib
Section: libs
Priority: optional
Filename: pool/main/f/file/libmagic1_5.35-4+deb10u2_amd64.deb
Size: 117560
MD5sum: bae903c3fa5e8169eb55c459130b2efd
SHA256: 247e6681da3f2062e24b8ac9ebd0c4d6738b40efdf1e69d8adc62c10f05b24e2

Package: libmagic1
Source: file
Version: 1:5.35-4+deb10u1
Installed-Size: 233
Maintainer: Christoph Biedl
Architecture: amd64
Depends: libc6 (>= 2.15), zlib1g (>= 1:1.1.4), libmagic-mgc (= 1:5.35-4+deb10u1)
Suggests: file
Description: Recognize the type of data in a file using "magic" numbers - library
Description-md5: 7c626dcc59dd225f2ce4a3522fed96e2
Homepage: https://www.darwinsys.com/file/
Multi-Arch: same
Section: libs
Priority: standard
Filename: pool/updates/main/f/file/libmagic1_5.35-4+deb10u1_amd64.deb
Size: 117476
MD5sum: 30a9aca79a2fd781bd56fd33fd64d4a8
SHA256: 1ac02a14c1739d09c5b351a26617357579b4bfab2f2e8325e90d8ac24ae2174a