Add instructions on binary package installation to README.md.
This commit is contained in:
48
README.md
48
README.md
@ -27,8 +27,43 @@ Current features allow to test the following system parameters:
|
||||
|
||||
- database server performance
|
||||
|
||||
# Installing from Binary Packages
|
||||
|
||||
## Linux
|
||||
|
||||
The easiest way to download and install sysbench on Linux is using
|
||||
binary package repositories hosted by
|
||||
[packagecloud](https://packagecloud.io). The repositories are
|
||||
automatically updated on each sysbench release. Currently only x86_64
|
||||
binaries are available.
|
||||
|
||||
- setup the `sysbench` repository by following instructions for your
|
||||
distribution at <https://packagecloud.io/akopytov/sysbench/install>
|
||||
|
||||
- install the `sysbench` package:
|
||||
- Debian/Ubunu
|
||||
``` shell
|
||||
apt -y install sysbench
|
||||
```
|
||||
|
||||
- RHEL/CentOS:
|
||||
``` shell
|
||||
yum -y install sysbench
|
||||
```
|
||||
|
||||
- Fedora:
|
||||
``` shell
|
||||
dnf -y install sysbench
|
||||
```
|
||||
|
||||
# Building and Installing From Source
|
||||
|
||||
It is recommended to install sysbench is using the official binary
|
||||
packages as described in
|
||||
[Installing from Binary Packages](#installing-from-binary-packages). Below
|
||||
are instruction for cases when you want to use sysbench on an
|
||||
architecture for which no binary packages are available.
|
||||
|
||||
## Build Requirements
|
||||
|
||||
### Windows
|
||||
@ -50,15 +85,24 @@ build and use sysbench 0.5 natively for Windows.
|
||||
apt -y install libpq-dev
|
||||
```
|
||||
|
||||
### RedHat/CentOS
|
||||
### RHEL/CentOS
|
||||
``` shell
|
||||
yum -y install make automake libtool pkgconfig libaio-devel vim-common
|
||||
# For MySQL support
|
||||
# For MySQL support, replace with mysql-devel on RHEL/CentOS 5
|
||||
yum -y install mariadb-devel
|
||||
# For PostgreSQL support
|
||||
yum -y install postgresql-devel
|
||||
```
|
||||
|
||||
### Fedora
|
||||
``` shell
|
||||
dnf -y install make automake libtool pkgconfig libaio-devel vim-common
|
||||
# For MySQL support
|
||||
dnf -y install mariadb-devel
|
||||
# For PostgreSQL support
|
||||
dnf -y install postgresql-devel
|
||||
```
|
||||
|
||||
### macOS
|
||||
|
||||
Assuming you have Xcode (or Xcode Commane Line Tools) and Homebrew installed:
|
||||
|
||||
Reference in New Issue
Block a user