#### Beyond Linux® From Scratch (systemd Edition) - Version 10.1

### Chapter 11. General Utilities

- Prev

  Screen-4.8.0

- Next

  Sharutils-4.15.2

- Up
- Home

# shared-mime-info-2.1

## Introduction to Shared Mime Info

The Shared Mime Info package contains a MIME database. This allows central updates of MIME information for all supporting applications.

This package is known to build and work properly using an LFS-10.1 platform.

### Package Information

- Download (HTTP): https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/0ee50652091363ab0d17e335e5e74fbe/shared-mime-info-2.1.tar.xz

- Download MD5 sum: 410725367f52ddbc06ef9eda883b8f73

- Download size: 5.0 MB

- Estimated disk space required: 26 MB

- Estimated build time: less than 0.1 SBU

### Shared Mime Info Dependencies

#### Required

GLib-2.66.7, itstool-2.0.6, libxml2-2.9.10, and xmlto-0.0.28

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/shared-mime-info

## Installation of Shared Mime Info

Install Shared Mime Info by running the following commands:

    mkdir build &&
    cd    build &&

    meson --prefix=/usr -Dupdate-mimedb=true .. &&
    ninja

This package does not come with a working test suite.

Now, as the `root` user:

    ninja install

## Command Explanations

`-Dupdate-mimedb=true`: This parameter tells the build system to run update-mime-database during installation. Otherwise, this must be done manually in order to be able to use the MIME database.

## Contents

Installed Program: update-mime-database
Installed Library: None
Installed Directory: /usr/share/mime

### Short Descriptions

update-mime-database | assists in adding MIME data to the database

Last updated on 2021-02-20 11:35:58 -0800

- Prev

  Screen-4.8.0

- Next

  Sharutils-4.15.2

- Up
- Home