How to Install and Uninstall libmagic1 Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: May 10,2024

1. Install "libmagic1" package

In this section, we are going to explain the necessary steps to install libmagic1 on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install libmagic1

2. Uninstall "libmagic1" package

In this section, we are going to explain the necessary steps to uninstall libmagic1 on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

3. Information about the libmagic1 package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: libmagic1
Architecture: amd64
Version: 1:5.41-3ubuntu0.1
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: 229
Depends: libbz2-1.0, libc6 (>= 2.33), liblzma5 (>= 5.1.1alpha+20120614), zlib1g (>= 1:1.1.4), libmagic-mgc (= 1:5.41-3ubuntu0.1)
Suggests: file
Filename: pool/main/f/file/libmagic1_5.41-3ubuntu0.1_amd64.deb
Size: 87242
MD5sum: 5a024b7d5088ea85cc9d019161ec029e
SHA1: dc08c9945ee33c5f49bbda7af27be0d260d943cd
SHA256: 344d0cc65fea4175ca1ab222c20b5b95fb1357acafea6b016add9988760829d0
SHA512: 5319c8c516f9ae53e59dba1c4faa5f70bbcf6d17f899ecc0609f53ae1340bd63b83479fc2fffa59e5ae4fe6c52d7655e8d9a3d893799b776f1902544baaae1a0
Homepage: https://www.darwinsys.com/file/
Description: Recognize the type of data in a file using "magic" numbers - library
Description-md5: 7c626dcc59dd225f2ce4a3522fed96e2
Task: standard

Package: libmagic1
Architecture: amd64
Version: 1:5.41-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: 228
Depends: libbz2-1.0, libc6 (>= 2.33), liblzma5 (>= 5.1.1alpha+20120614), zlib1g (>= 1:1.1.4), libmagic-mgc (= 1:5.41-3)
Suggests: file
Filename: pool/main/f/file/libmagic1_5.41-3_amd64.deb
Size: 87208
MD5sum: a02288f7320506c7ca9d0dbfa9dc1e52
SHA1: 574e0d3cebd70dc0c45f435d992806e831bc95ad
SHA256: c2cb62402d49f88627ba12aed260cf232cf251f0a61cc5074b895a83c1d229ce
SHA512: f899aeef680bd9038c402b39b43884bb376124a0c3883a3c627a4904c0a35cc58255417a0e78e5f2f37168a1452d967587fcbccb0ef1dd35121f1543986fdc3e
Homepage: https://www.darwinsys.com/file/
Description: Recognize the type of data in a file using "magic" numbers - library
Description-md5: 7c626dcc59dd225f2ce4a3522fed96e2
Task: standard