Mercurial > prosody-modules
diff mod_compression/README.markdown @ 2486:a5d4a78c7619
mod_compression/README: Include lua-zlib installation instructions and link to source
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 06 Feb 2017 02:47:37 +0100 |
parents | 560378965b82 |
children |
line wrap: on
line diff
--- a/mod_compression/README.markdown Sun Feb 05 16:05:47 2017 +0100 +++ b/mod_compression/README.markdown Mon Feb 06 02:47:37 2017 +0100 @@ -16,10 +16,16 @@ Prosody uses. However you will need to install zlib support for Lua on your system. There are different ways of doing this depending on your system. If in doubt whether it is installed correctly, the command -`lua-lzlib` in a console should open a Lua prompt with no errors. +`lua -lzlib` in a console should open a Lua prompt with no errors. + +Debian/Ubuntu +: `apt-get install lua-zlib` -For more information on obtaining lua-zlib for your platform, see the -[dependencies page][doc:depends]. +LuaRocks +: `luarocks install lua-zlib` + +Source +: <https://github.com/brimworks/lua-zlib> # Usage