lsyncd/manual/building/index.md

27 lines
746 B
Markdown
Raw Normal View History

2016-06-05 17:30:10 +00:00
---
layout: default
2016-12-01 12:54:38 +00:00
title: Building
2016-06-05 17:30:10 +00:00
---
2016-12-01 12:46:45 +00:00
2016-12-01 12:55:45 +00:00
## Requirements
2016-12-01 12:46:45 +00:00
2016-12-01 12:55:45 +00:00
### Lua >= 5.1
2017-01-04 10:14:38 +00:00
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.
2016-12-01 12:54:38 +00:00
2016-12-01 12:55:45 +00:00
### cmake >= 2.8
2016-12-01 12:54:38 +00:00
To configure Lsyncd to your system, cmake >= 2.8 is required
2016-12-01 12:55:45 +00:00
### rsync >= 3.0
2016-12-01 12:54:38 +00:00
During runtime Lsyncd needs rsync > 3.0 installed both on source and target systems.
2016-12-01 12:46:45 +00:00
2016-12-01 12:55:45 +00:00
## Compiling
2016-12-01 12:46:45 +00:00
2016-12-01 12:54:38 +00:00
With these requirements fulfilled building Lsyncd should be a straight forward process. Unpack the downloaded tar.gz file and run:
2016-06-05 17:30:10 +00:00
2016-06-08 07:01:58 +00:00
{% highlight shell %}
2016-06-05 17:30:10 +00:00
cmake .
make
sudo make install
2016-06-08 07:01:58 +00:00
{% endhighlight %}