Installing Review Board on Red Hat Enterprise/CentOS/Fedora Linux
There are no official RPM packages for Review Board. Some RPM-based distros do
provide their own ReviewBoard
package, but it may not be
up-to-date (especially on older systems) and may fall behind official
releases.
We'll walk you through installing our official Python packages.
Please note, you need a recent Python 3 install in order to run Review Board. Please see the list of compatible Python versions on the Review Board package page (under "Programming Language").
These instructions have been tested with:
- CentOS Stream 9
- RHEL 9
- Fedora 36
- Fedora 37
- Fedora 38
Older versions may require that you manually install a supported version of Python 3, or use a version of Review Board prior to Review Board 5. Please talk to us about support options if you need help.
Installation Steps
-
First, install all the required system dependencies:
$ sudo yum install \ gcc python3-devel libffi-devel openssl-devel memcached patch perl
-
Install Review Board:
$ sudo pip3 install ReviewBoard
-
Install support for your database.
For MySQL:
$ sudo yum install mariadb-connector-c-devel $ sudo pip3 install 'ReviewBoard[mysql]'
For PostgreSQL:
$ sudo pip3 install 'ReviewBoard[postgres]'
-
Now install support for the revision control systems we support. These are optional.
For Git:
$ sudo yum install git
For Mercurial:
$ sudo pip3 install 'ReviewBoard[mercurial]'
For Perforce:
$ sudo pip3 install 'ReviewBoard[p4]'
For Subversion:
$ sudo yum install subversion subversion-devel $ sudo pip3 install wheel $ curl https://pysvn.reviewboard.org | python3
- Follow our guide to creating a Review Board site.
For a more detailed guide to all the dependencies, including additional optional dependencies not mentioned here, please see our complete installation instructions.
Docker images are also available.
Installing RBTools on Developer Machines
RBTools is our suite of command line tools that makes it easy to work with Review Board and write scripts using our API. It's compatible with Linux, Windows, and macOS.
Developers will primarily work with rbt post. This is used to post new review requests from any in-development code, and will update existing review requests with any new code changes.
To get started, install RBTools and configure it for your repositories.