How to Install and Uninstall libmagic1 Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 22,2024

1. Install "libmagic1" package

This guide let you learn how to install libmagic1 on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install libmagic1

2. Uninstall "libmagic1" package

Please follow the guidance below to uninstall libmagic1 on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the libmagic1 package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: libmagic1
Architecture: amd64
Version: 1:5.32-2ubuntu0.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: 199
Depends: libc6 (>= 2.15), zlib1g (>= 1:1.1.4), libmagic-mgc (= 1:5.32-2ubuntu0.4)
Suggests: file
Filename: pool/main/f/file/libmagic1_5.32-2ubuntu0.4_amd64.deb
Size: 68592
MD5sum: c98c0bf67a2306ccb5bf01e27a4ed3b5
SHA1: c9277b3e8d7040da8176800cb3d3ee24d6758312
SHA256: 4a351886cb6785ada16295c55d7cd5ec60055bf4ec4675a5f033d9544452b338
SHA512: 3043c1388efaea9d6fb8a40b0cc6a3e768378de01014edfa0237342ff546cf40f7d5f5d92c4722976b1a0354dd32045b534d6f78b1f06d83b83fde7153c659a6
Homepage: http://www.darwinsys.com/file/
Description: Recognize the type of data in a file using "magic" numbers - library
Description-md5: 7c626dcc59dd225f2ce4a3522fed96e2
Task: minimal
Supported: 5y

Package: libmagic1
Architecture: amd64
Version: 1:5.32-2
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: 198
Depends: libc6 (>= 2.15), zlib1g (>= 1:1.1.4), libmagic-mgc (= 1:5.32-2)
Suggests: file
Filename: pool/main/f/file/libmagic1_5.32-2_amd64.deb
Size: 68460
MD5sum: c411cfe283b65ef9acb64e230770ce83
SHA1: 10c070ab39a5ffce188cdad887b8ebf71b9fc5d1
SHA256: 9b5b0700454080f19f588fa0d9bd328b2baf90963f49a750ff7ff60a964ac7ec
Homepage: http://www.darwinsys.com/file/
Description: Recognize the type of data in a file using "magic" numbers - library
Description-md5: 7c626dcc59dd225f2ce4a3522fed96e2
Task: minimal
Supported: 5y