Hackathon/Laptop setup/Linux git-review

From Wikimania 2012 • Washington, D.C., USA
Jump to navigation Jump to search

Install the Python packaging system

In order to install gerrit-review, you must set up distribute, the Python software packaging system.

On Ubuntu and Debian, you can do that with this command:

   sudo apt-get install python-pip

You will see a lot of happy messages print out, and finally you will see a prompt again (which looks like $ sign).

Download git-review

To download git-review, run these command:

   sudo pip install git-review

Again, you will see a lot of happy messages print out.

Make sure git-review runs

After all this work, you will want to make sure the program is properly installed. Type this into the prompt:


You should see a happy error message, three lines long:

No .gitreview file found in this repository.
We don't know where your gerrit is. Please manually create
a remote named gerrit and try again.

Hooray! It is properly installed.

Return to laptop setup

« Return to laptop setup