How to Install and Uninstall libmagic1 Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 24,2024

1. Install "libmagic1" package

This is a short guide on how to install libmagic1 on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install libmagic1

2. Uninstall "libmagic1" package

Learn how to uninstall libmagic1 on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the libmagic1 package on Ubuntu 20.04 LTS (Focal Fossa)

Package: libmagic1
Architecture: amd64
Version: 1:5.38-4
Multi-Arch: same
Priority: important
Section: libs
Source: file
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Christoph Biedl
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 220
Depends: libbz2-1.0, libc6 (>= 2.15), liblzma5 (>= 5.1.1alpha+20120614), zlib1g (>= 1:1.1.4), libmagic-mgc (= 1:5.38-4)
Suggests: file
Filename: pool/main/f/file/libmagic1_5.38-4_amd64.deb
Size: 75852
MD5sum: f4b186b51ceba7bc8b3a611c7801778e
SHA1: 03fb5a45ab43fc946cf5411ad71b269a23515409
SHA256: 371fe893393973bf2d0c4cc0cf00a1edce70779f4edbc00e442303db4ddda0eb
Homepage: https://www.darwinsys.com/file/
Description: Recognize the type of data in a file using "magic" numbers - library
Description-md5: 7c626dcc59dd225f2ce4a3522fed96e2
Task: minimal