Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
liber
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ale
liber
Commits
9a1fabfa
Commit
9a1fabfa
authored
9 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
simplify build instructions
parent
75933a3d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+4
-27
4 additions, 27 deletions
README.md
with
4 additions
and
27 deletions
README.md
+
4
−
27
View file @
9a1fabfa
...
...
@@ -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 install
ing
the
code is the simply a matter of running
$ go get -d git.autistici.org/ale/liber
$ go install git.autistici.org/ale/liber/...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment