# INSTALL

For mime type guessing we need the `libmagic` library.

On Debian/Ubuntu run:

```
sudo apt-get install libmagic-dev
```

on Red Hat run:

```
sudo yum install file-devel
```

On Mac you can use homebrew (https://brew.sh/):

```
brew install libmagic
```

See also: https://metacpan.org/pod/File::LibMagic