🍺 BREW Explorer

← all formulae

shared-mime-info

brew install shared-mime-info v2.4_1 GPL-2.0-only

Freedesktop MIME type database and lookup library used by desktop environments and file handlers.

Why you might care

Provides canonical MIME type definitions and the `update-mime-database` tool for systems that need consistent file-type detection across applications. Required by many desktop-oriented tools and libraries; rarely needed directly in CLI workflows unless building file-handling utilities.

Categories

Alternatives

file libmagic
17.9k
30-day installs · #251
63.0k
90-day · #236
356.4k
365-day · #189

Runtime dependencies

Build dependencies

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "file",
    "libmagic"
  ],
  "build_dependencies": [
    "gettext",
    "itstool",
    "meson",
    "ninja",
    "pkgconf",
    "xmlto"
  ],
  "categories": [
    "library",
    "sysadmin"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "glib"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Database of common MIME types",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:40:46+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "shared-mime-info",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://wiki.freedesktop.org/www/Software/shared-mime-info",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": "shared-mime-info",
  "installs_30d": 17858,
  "installs_365d": 356436,
  "installs_90d": 62995,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "GPL-2.0-only",
  "llm_generated_at": "2026-06-20T23:43:42+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "shared-mime-info",
  "oldnames": [],
  "one_liner": "Freedesktop MIME type database and lookup library used by desktop environments and file handlers.",
  "optional_dependencies": [],
  "rank_30d": 251,
  "rank_365d": 189,
  "rank_90d": 236,
  "raw_hash": "8fb120470ee87f5d",
  "recommended_dependencies": [],
  "revision": 1,
  "ruby_source_path": "Formula/s/shared-mime-info.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [
    "libxml2"
  ],
  "version_head": "HEAD",
  "version_stable": "2.4",
  "versioned_formulae": [],
  "why_use_this": "Provides canonical MIME type definitions and the `update-mime-database` tool for systems that need consistent file-type detection across applications. Required by many desktop-oriented tools and libraries; rarely needed directly in CLI workflows unless building file-handling utilities."
}