How to install lua-resty-fileinfo on Amazon Linux
LuaJIT FFI bindings to libmagic, magic number recognition library - tries to determine file types
Availability
| Distro | aarch64 | noarch | x86_64 | Version |
|---|---|---|---|---|
| Amazon Linux 2023 | — | ✓ | — | 1.0 |
| Amazon Linux 2012.03 | — | ✓ | — | 1.0 |
| Amazon Linux 2 | — | ✓ | — | 1.0 |
Description
LuaJIT FFI bindings to libmagic, magic number recognition library - tries to determine file types.
Built for Amazon Linux.
Install
lua-resty-fileinfo on Amazon Linux 2, 2012.03, 2023
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install lua-resty-fileinfo
Package downloads require an active GetPageSpeed subscription — one repository for lua-resty-fileinfo and thousands more packages for Amazon Linux.
Subscribe — from $10/moFrequently asked questions
How do I install lua-resty-fileinfo on Amazon Linux?
Add the GetPageSpeed repository, then install the lua-resty-fileinfo package with your system package manager.
Which Amazon Linux versions is lua-resty-fileinfo available for?
lua-resty-fileinfo is available for Amazon Linux 2, 2012.03, 2023.