diff --git a/README.md b/README.md index e4a4a349a82ca6537925ed159ad7d991916a52a1..6ade3eb6576a987849e4a34d587abb730a83a75f 100644 --- a/README.md +++ b/README.md @@ -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/...