Skip to content
Snippets Groups Projects
Commit 9a1fabfa authored by ale's avatar ale
Browse files

simplify build instructions

parent 75933a3d
Branches
Tags
No related merge requests found
......@@ -31,37 +31,14 @@ update the package sources, and install the `liber` package:
$ sudo apt-get update
$ sudo apt-get install liber
*Note*: on Debian Wheezy, you will need to install the `libleveldb1`
package from the backports repository (see the
[Debian backports website](http://backports.debian.org/) for
instructions on how to set that up) before running the commands
mentioned above:
$ apt-get install -t wheezy-backports libleveldb1
### Build from source
The source has a few dependencies:
* A working [Go](http://golang.org/) environment (note that the Go
version in Debian wheezy is too old, you should install a more recent
version from the Go website);
* LevelDB (and Snappy)
Some of the Go packages that `liber` depends upon have their own list
of dependencies ([Bleve](http://blevesearch.org/) in particular) which
you will also need to install. On a Debian-based system, the following
command should suffice:
$ sudo apt-get install build-essential libleveldb-dev \
libsnappy-dev libicu-dev libstemmer-dev
You should then install Bleve, enabling some necessary features:
$ go get -u -tags 'leveldb icu libstemmer' github.com/blevesearch/bleve
To compile liber from source, you will need a working [Go](http://golang.org/)
environment (note that the Go version in Debian wheezy is too old, you should
install a more recent version from the Go website).
And then download and install the `liber` source code:
Building and installing the code is the simply a matter of running
$ go get -d git.autistici.org/ale/liber
$ go install git.autistici.org/ale/liber/...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment