How to Install and Uninstall libmagic1 Package on Kali Linux

Last updated: May 21,2024

1. Install "libmagic1" package

Please follow the guidelines below to install libmagic1 on Kali Linux

$ sudo apt update $ sudo apt install libmagic1

2. Uninstall "libmagic1" package

In this section, we are going to explain the necessary steps to uninstall libmagic1 on Kali Linux:

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

3. Information about the libmagic1 package on Kali Linux

Package: libmagic1
Source: file (1:5.45-2)
Version: 1:5.45-2+b1
Installed-Size: 233
Maintainer: Christoph Biedl
Architecture: amd64
Depends: libbz2-1.0, libc6 (>= 2.33), liblzma5 (>= 5.1.1alpha+20120614), zlib1g (>= 1:1.1.4), libmagic-mgc (= 1:5.45-2+b1)
Suggests: file
Size: 105248
SHA256: 72c2d0af880a483419e44ff686300cd44b2b1224679427c09b5e639123270681
SHA1: a70d3e5213d9870a966565c416a8dc20709e372b
MD5sum: dbd2fc62ea2852876738faab55e315e4
Description: Recognize the type of data in a file using "magic" numbers - library
This library can be used to classify files according to magic number
tests. It implements the core functionality of the file command.
Description-md5:
Multi-Arch: same
Homepage: https://www.darwinsys.com/file/
Tag: role::shared-lib
Section: libs
Priority: optional
Filename: pool/main/f/file/libmagic1_5.45-2+b1_amd64.deb