-
Notifications
You must be signed in to change notification settings - Fork 153
Update installfrompip.adoc #64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -52,12 +52,12 @@ from grr.lib.aff4_objects import cronjobs | |
| cronjobs.ScheduleSystemCronFlows(token=data_store.default_token) | ||
| ----------------------------------------------------------------------- | ||
|
|
||
| == Protobuf 2.5.0 == | ||
| == Protobuf 3.0.0 == | ||
|
|
||
| GRR only works with the Protobuf library v2.5.0 or newer. If your distribution | ||
| GRR only works with the Protobuf library v3.0.0. If your distribution | ||
| comes with an older version, follow the instructions below: | ||
|
|
||
| Remove any version of protobuf that is older than 2.5.0. | ||
| Remove any version of protobuf that is older than 3.0.0. | ||
|
|
||
| Note that this will also remove a couple of dependencies: | ||
|
|
||
|
|
@@ -72,12 +72,12 @@ system: | |
| sudo apt-get install build-essential uuid-dev zlib1g-dev python-dev | ||
| -------------------------------------------------------------------- | ||
|
|
||
| Download protobuf version 2.5.0 or later from link:http://code.google.com/p/protobuf/[protobuf] | ||
| Download protobuf version 3.0.0 or later from link:http://code.google.com/p/protobuf/[protobuf] | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. you actually only need the compiler, so you can just go to the releases page and download the relevant compiler package for your OS.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hi @destijl When I installed the compiler using sudo apt install protobuf-compiler, (Ubuntu 16.04), it installed v2.5.0. In the next step, cd /grr, pip install -editable . it produced an error "v3.0.0 required", After the installed protobuf-3.0.0, I was able to successfully install GRR. So I submitted the PR. I will verify it once again. Thanks |
||
|
|
||
| Extract the package: | ||
| ------------------------------------------------------- | ||
| tar xfv protobuf-2.5.0.tar.gz | ||
| cd protobuf-2.5.0 | ||
| tar xfv protobuf-3.0.0.tar.gz | ||
| cd protobuf-3.0.0 | ||
| ------------------------------------------------------- | ||
|
|
||
| Build and install libprotobuf: | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this path is set by the deb package. If you're just installing from pip you don't need to mess with this at all (but you need to do your own systemd setup, or run the worker, ui etc. manually. If you want to have all the systemd stuff set up for you by the package, then install a new version from source, you need to change this to update the systemd scripts.
So I don't think this needs changing but we need to clarify that somehow.