How to Install ruby-mimemagic in Ubuntu 18.04



Install ruby-mimemagic by entering the following commands in the terminal:

sudo apt update
sudo apt install ruby-mimemagic

Description:

fast MIME detection by extension or content

The mimemagic Ruby library provides fast MIME detection by extension or content. It uses the freedesktop.org MIME database provided by the shared-mime-info package. It also contains some extra magic to detect Microsoft Office 2007+ formats.

Homepage: https://github.com/minad/mimemagic

Version: 0.3.0+dfsg-1

Section: universe/ruby