shared-mime-info
brew install shared-mime-infoDatabase of common MIME types
https://wiki.freedesktop.org/www/Software/shared-mime-info
License: GPL-2.0-only
Development: Pull requests
Formula JSON API: /api/formula/shared-mime-info.json
Formula code: shared-mime-info.rb on GitHub
Bottle (binary package) installation support provided for:
| macOS on Apple Silicon |
golden gate | ✅ |
|---|---|---|
| tahoe | ✅ | |
| sequoia | ✅ | |
| sonoma | ✅ | |
| macOS on Intel |
sonoma | ✅ |
| Linux | ARM64 | ✅ |
| x86_64 | ✅ |
Current versions:
| stable | ✅ | 2.5.1 |
| head | ⚡️ | HEAD |
Depends on:
| glib | 2.90.1 | Core application library for C |
Depends on when building from source:
| gettext | 1.0 | GNU internationalization (i18n) and localization (l10n) library |
| itstool | 2.0.7 | Make XML documents translatable through PO files |
| meson | 1.12.1 | Fast and user friendly build system |
| ninja | 1.13.2 | Small build system for use with gyp or CMake |
| pkgconf | 3.0.10 | Package compiler and linker metadata toolkit |
| xmlto | 0.0.29 | Convert XML to another format (based on XSL or other tools) |
Uses from macOS: libxml2
Binaries:
update-mime-database
GitHub Packages downloads:
| Last 30 days | 72,916 |
|---|---|
| Downloads | 12,417,533 |
| Analytics install events (30 days) | 14,651 |
| Downloads / install events (30 days) | 5.0× |
Source: GitHub Packages, fetched 2026-11-11T00:50:56Z. Analytics dates: 2026-10-12 to 2026-11-11. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.
Analytics:
| 30 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 14,649 | 40,936 | 300,073 |
Installs (--HEAD) | 2 | 7 | 37 |
| Installs on Request | 952 | 2,570 | 26,753 |
Installs on Request (--HEAD) | 2 | 7 | 34 |
| Build Errors | 1 |