Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
README: Improve installation instructions
Browse files Browse the repository at this point in the history
edenhill committed Mar 7, 2019
1 parent 74211d0 commit e343956
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -109,9 +109,43 @@ See the [wiki](https://github.com/edenhill/librdkafka/wiki) for a FAQ.

## Instructions

### Installing prebuilt packages

On Mac OSX, install librdkafka with homebrew:

```bash
$ brew install librdkafka
```

On Debian and Ubuntu, install librdkafka from the Confluent APT repositories,
see instructions [here](https://docs.confluent.io/current/installation/installing_cp/deb-ubuntu.html#get-the-software) and then install librdkafka:

```bash
$ apt install librdkafka-dev
```

On RedHat, CentOS, Fedora, install librdkafka from the Confluent YUM repositories,
instructions [here](https://docs.confluent.io/current/installation/installing_cp/rhel-centos.html#get-the-software) and then install librdkafka:

```bash
$ yum install librdkafka-devel
```

On Windows, reference [librdkafka.redist](https://www.nuget.org/packages/librdkafka.redist/) NuGet package in your Visual Studio project.


For other platforms, follow the source building instructions below.


### Building

./configure
# Or, to have configure automatically install dependencies:
# ./configure --install-deps
# Altneriatvely, to have configure automatically build dependencies
# from source:
# ./configure --install-deps --source-deps-only

make
sudo make install

0 comments on commit e343956

Please sign in to comment.