How to Install and Uninstall libmagic1 Package on Ubuntu 23.10 (Mantic Minotaur)

Last updated: May 18,2024

1. Install "libmagic1" package

In this section, we are going to explain the necessary steps to install libmagic1 on Ubuntu 23.10 (Mantic Minotaur)

$ sudo apt update $ sudo apt install libmagic1

2. Uninstall "libmagic1" package

Please follow the guidance below to uninstall libmagic1 on Ubuntu 23.10 (Mantic Minotaur):

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

3. Information about the libmagic1 package on Ubuntu 23.10 (Mantic Minotaur)

Package: libmagic1
Architecture: amd64
Version: 1:5.44-3
Multi-Arch: same
Priority: standard
Section: libs
Source: file
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Christoph Biedl
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 208
Depends: libbz2-1.0, libc6 (>= 2.33), liblzma5 (>= 5.1.1alpha+20120614), zlib1g (>= 1:1.1.4), libmagic-mgc (= 1:5.44-3)
Suggests: file
Filename: pool/main/f/file/libmagic1_5.44-3_amd64.deb
Size: 85588
MD5sum: 287b04acd6484b1386cfd4ba30dc4e08
SHA1: 61480c91d78ef94c4bb662737e84b3cfba5e72e1
SHA256: 67243855810f42a624ad2f813aecc51587533926c2cff63249988102d1a4999b
SHA512: 39115c810c84b1cc4751581d0451d3da56f5ab62a8378eeb1252597d6a477399283de301fa6c2c035a38cd03ea92639b9a691dba517fa96cb174251dd491aaca
Homepage: https://www.darwinsys.com/file/
Description: Recognize the type of data in a file using "magic" numbers - library
Description-md5: 7c626dcc59dd225f2ce4a3522fed96e2
Task: standard, ubuntu-wsl