pkg.soopen package index

brew / rank 197

Install shared-mime-info with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Database of common MIME types. Version 2.5.1 via Homebrew; verified 2026-09-10. Also installable with debian: sudo apt install shared-mime-info.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install shared-mime-info

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install shared-mime-info

MacPorts ports tree · devel/shared-mime-info/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add shared-mime-info

Alpine Linux edge package indexes · shared-mime-info · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install shared-mime-info

Debian stable package indexes · shared-mime-info · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install shared-mime-info

Fedora Rawhide package metadata · shared-mime-info · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#shared-mime-info

nixpkgs package indexes · pkgs/by-name/sh/shared-mime-info/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S shared-mime-info

Arch Linux sync databases · shared-mime-info · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install shared-mime-info

openSUSE Tumbleweed package metadata · shared-mime-info · source: download.opensuse.org

overview

Package summary

Database of common MIME types

Commands and aliases

  • update-mime-database

history

Project history and usage

shared-mime-info provides the freedesktop.org database and specification used to identify file types consistently across Unix desktop environments.

Project history

The project emerged from freedesktop.org standardization work to replace separate MIME databases with a common, extensible representation.

The shared database stores static type information derived from filenames or file contents, along with metadata such as descriptions and associated application capabilities. It deliberately does not store users' preferred applications.

Adoption history

The specification was designed to unify MIME databases used by GNOME, KDE, and ROX so applications and desktops could agree on file types without duplicating metadata.

The package is available across numerous Unix-like package ecosystems, including Alpine, Debian, Fedora, Homebrew, MacPorts, Nix, Arch, Ubuntu, and openSUSE, reflecting its role as common desktop infrastructure.

How it is used

Applications install or query MIME metadata, while update-mime-database rebuilds the cached database used for filename- and content-based type detection.

The database supplies shared type facts; selection of a user's preferred application is handled elsewhere.

Why package nerds care

shared-mime-info is a classic low-visibility dependency: users rarely invoke it directly, yet desktop software depends on its database for consistent file classification and application integration.

Its broad cross-distribution packaging and standards-oriented role make it an important example of freedesktop.org infrastructure shared across otherwise competing desktop stacks.

Timeline

  • 2000s: freedesktop.org developed a unified shared MIME database for desktop interoperability.
  • 2018: Version 0.21 of the specification was published on 2 October.

Related projects

  • The specification explicitly coordinates MIME handling across GNOME, KDE, and ROX and forms part of the wider freedesktop.org/XDG interoperability ecosystem.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:database

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 6 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
update-mime-databasecliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-09-19
manager version2.5.1
manager updated2026-09-10
local dataok
upstreamnot checked
latest detectednot detected

https://wiki.freedesktop.org/www/Software/shared-mime-info

install metadata

Package metadata

Package keybrew:shared-mime-info
Version2.5.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/shared-mime-info
Homepagehttps://wiki.freedesktop.org/www/Software/shared-mime-info
Upstream docshttps://wiki.freedesktop.org/www/Software/shared-mime-info
LicenseGPL-2.0-only
Source archivehttps://gitlab.freedesktop.org/xdg/shared-mime-info/-/archive/2.5.1/shared-mime-info-2.5.1.tar.bz2
Last updated2026-09-10T16:08:20Z
Pulseupdated
Dependenciesglib
Build dependenciesgettext, itstool, meson, ninja, pkgconf, xmlto
Uses from macOSlibxml2
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameshared-mime-info
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

shared-mime-info 2.4-5+b2

FreeDesktop.org shared MIME database and spec

https://freedesktop.org/wiki/Software/shared-mime-info

sudo apt install shared-mime-info
  • Section: misc
  • Architecture: amd64
  • Source Package: shared-mime-info
  • 5 dependencies
  • normalized package name match
  • Matched by: Shared Mime Info
Debian stable package indexes · deb.debian.org · Debian stable package indexes: shared-mime-info from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

shared-mime-info

nix profile install nixpkgs#shared-mime-info
  • normalized package name match
  • Matched by: Shared Mime Info
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/sh/shared-mime-info/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

shared-mime-info 2.4-4

FreeDesktop.org shared MIME database and spec

https://freedesktop.org/wiki/Software/shared-mime-info

sudo apt install shared-mime-info
  • Section: misc
  • Architecture: amd64
  • 5 dependencies
  • normalized package name match
  • Matched by: Shared Mime Info
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: shared-mime-info from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

shared-mime-info 2.4-r7

Freedesktop.org Shared MIME Info

https://www.freedesktop.org/Software/shared-mime-info

sudo apk add shared-mime-info
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: shared-mime-info
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Shared Mime Info
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: shared-mime-info from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

shared-mime-info-doc 2.4-r7

Freedesktop.org Shared MIME Info (documentation)

https://www.freedesktop.org/Software/shared-mime-info

sudo apk add shared-mime-info-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: shared-mime-info
  • normalized package name match
  • Matched by: Shared Mime Info
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: shared-mime-info-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

shared-mime-info-lang 2.4-r7

Languages for package shared-mime-info

https://www.freedesktop.org/Software/shared-mime-info

sudo apk add shared-mime-info-lang
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: shared-mime-info
  • normalized package name match
  • Matched by: Shared Mime Info
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: shared-mime-info-lang from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

shared-mime-info 2.5.1-2.fc45

Shared MIME information database

http://freedesktop.org/Software/shared-mime-info

sudo dnf install shared-mime-info
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: shared-mime-info
  • 7 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Shared Mime Info
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: shared-mime-info from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst
zypper95%

shared-mime-info 2.5.1-1.1

Shared MIME Database

https://gitlab.freedesktop.org/xdg/shared-mime-info

sudo zypper install shared-mime-info
  • License: GPL-2.0-or-later
  • Category: System/X11/Utilities
  • Architecture: x86_64
  • Source Package: shared-mime-info
  • 6 dependencies
  • 4 provides
  • normalized package name match
  • Matched by: Shared Mime Info
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: shared-mime-info from https://download.opensuse.org/tumbleweed/repo/oss/repodata/d310d5a96106e1e8872a385adf98aaa23be9db5d80937a6717314e7e7f37715065c6c748ab7ccee6475d620b46979c0fe64235fc0c46988e17edf659578fcf31-primary.xml.zst
zypper95%

shared-mime-info-lang 2.5.1-1.1

Translations for package shared-mime-info

https://gitlab.freedesktop.org/xdg/shared-mime-info

sudo zypper install shared-mime-info-lang
  • License: GPL-2.0-or-later
  • Category: System/Localization
  • Architecture: noarch
  • Source Package: shared-mime-info
  • 1 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Shared Mime Info
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: shared-mime-info-lang from https://download.opensuse.org/tumbleweed/repo/oss/repodata/d310d5a96106e1e8872a385adf98aaa23be9db5d80937a6717314e7e7f37715065c6c748ab7ccee6475d620b46979c0fe64235fc0c46988e17edf659578fcf31-primary.xml.zst
MacPorts95%

shared-mime-info

sudo port install shared-mime-info
  • normalized package name match
  • Matched by: Shared Mime Info
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/shared-mime-info/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation