How to Install and Uninstall libmagic1 Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: October 05,2024

1. Install "libmagic1" package

Please follow the instructions below to install libmagic1 on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install libmagic1

2. Uninstall "libmagic1" package

Please follow the guidelines below to uninstall libmagic1 on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the libmagic1 package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: libmagic1
Architecture: amd64
Version: 1:5.25-2ubuntu1.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: 3983
Depends: libc6 (>= 2.15), zlib1g (>= 1:1.1.4)
Suggests: file
Filename: pool/main/f/file/libmagic1_5.25-2ubuntu1.4_amd64.deb
Size: 216198
MD5sum: 69a7f4e2532802fa5537a55ed3626a04
SHA1: c51a4e902f18f332c7237c64194b0295a45bec3c
SHA256: 6d75ea87f3f269b5a4b6157ef34a8fc8bf0d060a2a5668417709af0bc5fed2e6
SHA512: 2d3c8e980d37db162f9d366511d01cae84a779ae61fa680e5f4d536e7d0e22905115a43f0f4dc5913c52efde6c81cde9765fdcddaf786fd8b1a02dfe0e59dc1b
Homepage: http://www.darwinsys.com/file/
Description-en: File type determination library using "magic" numbers
This library can be used to classify files according to magic
number tests. It implements the core functionality of the file
command.
Description-md5: 67becb682b68b137ec3b31e8acaacf86
Task: minimal, ubuntu-sdk-libs-dev
Supported: 5y

Package: libmagic1
Priority: important
Section: libs
Installed-Size: 3983
Maintainer: Ubuntu Developers
Original-Maintainer: Christoph Biedl
Architecture: amd64
Source: file
Version: 1:5.25-2ubuntu1
Depends: libc6 (>= 2.15), zlib1g (>= 1:1.1.4)
Suggests: file
Filename: pool/main/f/file/libmagic1_5.25-2ubuntu1_amd64.deb
Size: 216054
MD5sum: 216462c48f477286e3a4cb55653ed92d
SHA1: 7de59c56553ede1ca9ac98597c0e9468996d5ab8
SHA256: 5f6f8c4fb2cd84c8da5370dfada82cbb4681a6c68afa88843e3bc6aad57f0da4
Description-en: File type determination library using "magic" numbers
This library can be used to classify files according to magic
number tests. It implements the core functionality of the file
command.
Description-md5: 67becb682b68b137ec3b31e8acaacf86
Multi-Arch: same
Homepage: http://www.darwinsys.com/file/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: minimal, ubuntu-sdk-libs-dev