How to Install and Uninstall php-mime-type Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: October 06,2024

1. Install "php-mime-type" package

Please follow the steps below to install php-mime-type on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "php-mime-type" package

Please follow the step by step instructions below to uninstall php-mime-type on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the php-mime-type package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: php-mime-type
Priority: optional
Section: universe/php
Installed-Size: 70
Maintainer: Ubuntu Developers
Original-Maintainer: PKG-PHP-PEAR team
Architecture: all
Version: 1.3.1-1build1
Depends: php-pear
Filename: pool/universe/p/php-mime-type/php-mime-type_1.3.1-1build1_all.deb
Size: 14188
MD5sum: e17f94152eb6eb704dd88a1ec0456314
SHA1: 3fa214347caa63e5e0ea1b6b2fe92db1de0345a8
SHA256: 68a975fb8f279e55a50c76da27e33159a283c31a644c955289740c3e64409a81
Description-en: Utility class for dealing with MIME types
Provide functionality for dealing with MIME types:
* Parse MIME type.
* Supports full RFC2045 specification.
* Many utility functions for working with and determining info about types.
* Most functions can be called statically.
* Autodetect a files mime-type, either with fileinfo extension,
mime_magic extension, the file command or an in-built mapping list
Description-md5: 0f3a39af7b0efd6c2f617c070c3bea32
Homepage: http://pear.php.net/package/MIME_Type/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu