How to Install and Uninstall php-league-mime-type-detection Package on Ubuntu 21.10 (Impish Indri)

Last updated: December 23,2024

1. Install "php-league-mime-type-detection" package

This guide covers the steps necessary to install php-league-mime-type-detection on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install php-league-mime-type-detection

2. Uninstall "php-league-mime-type-detection" package

Please follow the step by step instructions below to uninstall php-league-mime-type-detection on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove php-league-mime-type-detection $ sudo apt autoclean && sudo apt autoremove

3. Information about the php-league-mime-type-detection package on Ubuntu 21.10 (Impish Indri)

Package: php-league-mime-type-detection
Architecture: all
Version: 1.5.1+ds-2ubuntu1
Priority: optional
Section: universe/php
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PEAR Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 97
Depends: php-common
Suggests: node-mime-db
Filename: pool/universe/p/php-league-mime-type-detection/php-league-mime-type-detection_1.5.1+ds-2ubuntu1_all.deb
Size: 15744
MD5sum: e2e143cc01d642ea61649854b2c59fb8
SHA1: 39b3f770a9b3c0469d9f560fbd505dcd59165e58
SHA256: 988a787779ea24f745239c867d2896ee83f84f92423355e9a5ead88d68d7e995
SHA512: b013aefdcbdc8ca16b537d30bf2ec53f2088f319aafa07c804f65d2589e87300170e157ea5d44fa28f390836eb2d5470250b7862fa43d348135c0e7bf8bf15f1
Homepage: https://flysystem.thephpleague.com/
Description-en: generic mime-type detection interface for PHP
League Mime Type Detection supplies a generic mime-type detection interface
with a finfo based implementation.
.
As a fallback for finfo based lookup, an extension map is used to determine
the mime-type. There is an advised implementation shipped, which is generated
from information collected by the npm package mime-db.
Description-md5: db461dcbd573b8f15be2a73d67eb2194