Gerrit code review package for Debian and Ubuntu.
Please read the README.Debian for package-specific functionality.
add-apt-repository ppa:rjozwik/gerrit
apt update
apt install gerrit
-
Go to the Releases tab and download latest DEB package.
-
Install dependencies
apt install openssh-client openjdk-8-jre-headless
- Install Gerrit
dpkg --install gerrit_XXX_all.deb
Edit /etc/gerrit/gerrit.config to change Gerrit daemon configuration. There
is also /etc/default/gerrit for settings related to the init script.
There is an init script provided as /etc/init.d/gerrit. Run it without
arguments for usage instructions.