How to Install and Uninstall libmagic1 Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: December 26,2024

1. Install "libmagic1" package

In this section, we are going to explain the necessary steps to install libmagic1 on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install libmagic1

2. Uninstall "libmagic1" package

Learn how to uninstall libmagic1 on Ubuntu 24.04 LTS (Noble Numbat):

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

3. Information about the libmagic1 package on Ubuntu 24.04 LTS (Noble Numbat)

Package: libmagic1
Architecture: amd64
Version: 1:5.45-2
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.38), liblzma5 (>= 5.1.1alpha+20120614), zlib1g (>= 1:1.1.4), libmagic-mgc (= 1:5.45-2)
Suggests: file
Filename: pool/main/f/file/libmagic1_5.45-2_amd64.deb
Size: 86090
MD5sum: f62c236adf8c18a057b5d81f4cc3e1b8
SHA1: 9439c435d5614c2602263df9f1a8d7b794ba5157
SHA256: 698eb9672e811222cb6207861e750e31a2159d2de593039e197bc650f7d37a5a
SHA512: 44eed706c44c68ee682fe03fdac7e4532abbd252d8a884cd110b873b0ddca182ddf22ce86ce8386490a919dd53c7a06ffce5f9c2a3d98acf35448ab8b0453881
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