mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-11-15 01:24:03 +00:00
27 lines
746 B
Markdown
27 lines
746 B
Markdown
---
|
|
layout: default
|
|
title: Building
|
|
---
|
|
|
|
## Requirements
|
|
|
|
### Lua >= 5.1
|
|
Lsyncd depends on Lua 5.1 or greater; that is Lua 5.1, 5.2 or 5.3. For Lua versions beyond 5.1 you need an uptodate Lsnycd version. For most distributions you need to install the liblua??, the liblua??-dev and the lua?? package, with ?? being the respective Lua version.
|
|
|
|
### cmake >= 2.8
|
|
|
|
To configure Lsyncd to your system, cmake >= 2.8 is required
|
|
|
|
### rsync >= 3.0
|
|
During runtime Lsyncd needs rsync > 3.0 installed both on source and target systems.
|
|
|
|
## Compiling
|
|
|
|
With these requirements fulfilled building Lsyncd should be a straight forward process. Unpack the downloaded tar.gz file and run:
|
|
|
|
{% highlight shell %}
|
|
cmake .
|
|
make
|
|
sudo make install
|
|
{% endhighlight %}
|