shared-mime-info
1.1、shared-mime-info简介
是什么 ?:contains a database of common MIME types
开发语言:C
官方主页:https://freedesktop.org/wiki/Software/shared-mime-info
源码仓库:https://gitlab.freedesktop.org/xdg/shared-mime-info
1.2、通过包管理器安装shared-mime-info
操作系统包管理器安装命令
macOSHomeBrewbrew install shared-mime-info
GNU/LinuxLinuxBrewbrew install shared-mime-info
aptsudo apt-get install -y shared-mime-infoc
CentOSyumsudo yum install -y shared-mime-info
dnfsudo dnf install -y shared-mime-info
openSUSEzyppersudo zypper install -y shared-mime-info
Alpine Linuxapksudo apk add shared-mime-info

Arch Linux

ArcoLinux

Manjaro Linux

pacmansudo pacman -Syyu --noconfirm
sudo pacman -S    --noconfirm shared-mime-info
Gentoo LinuxPortagesudo emerge shared-mime-info
1.3、通过编译源码安装shared-mime-info
1.4、update-mime-database命令