Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 1 addition & 71 deletions c_glib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,77 +50,7 @@ released in the future.

### Package

There are supported platforms:

* Debian GNU/Linux Jessie
* Ubuntu 16.04 LTS
* Ubuntu 16.10
* Ubuntu 17.04
* CentOS 7

You can feedback to https://github.com/kou/arrow-packages about
packages things.

#### Debian GNU/Linux jessie

You need to install `apt-transport-https` to use HTTPS for APT
repository.

```text
% sudo apt install -y apt-transport-https
```

You need to add the following apt-lines to
`/etc/apt/sources.list.d/groonga.list`:

```text
deb https://packages.groonga.org/debian/ jessie main
deb-src https://packages.groonga.org/debian/ jessie main
```

Then you need to run the following command lines:

```text
% sudo apt update
% sudo apt install -y --allow-unauthenticated groonga-keyring
% sudo apt update
```

Now you can install Arrow GLib packages:

```text
% sudo apt install -y libarrow-glib-dev
```

#### Ubuntu

You need to add an APT repository:

```text
% sudo apt install -y software-properties-common
% sudo add-apt-repository -y ppa:groonga/ppa
% sudo apt update
```

Now you can install Arrow GLib packages:

```text
% sudo apt install -y libarrow-glib-dev
```

#### CentOS 7

You need to add a Yum repository:

```text
% sudo yum install -y https://packages.groonga.org/centos/groonga-release-1.3.0-1.noarch.rpm
```

Now you can install Arrow GLib packages:

```text
% sudo yum install -y --enablerepo=epel arrow-glib-devel
```
See [install document][../site/install.md] for details.

### How to build by users

Expand Down
68 changes: 68 additions & 0 deletions site/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,78 @@ pip install pyarrow
These include the Apache Arrow and Apache Parquet C++ binary libraries bundled
with the wheel.

### C++ and GLib (C) Packages for Debian GNU/Linux, Ubuntu and CentOS (Unofficial)

We have provided APT and Yum repositories for Apache Arrow C++ and
Apache Arrow GLib (C). Here are supported platforms:

* Debian GNU/Linux Jessie
* Ubuntu 16.04 LTS
* Ubuntu 16.10
* Ubuntu 17.04
* CentOS 7

Debian GNU/Linux Jessie:

```shell
sudo apt update
sudo apt install -y -V apt-transport-https
cat <<APT_LINE | sudo tee /etc/apt/sources.list.d/groonga.list
deb https://packages.groonga.org/debian/ jessie main
deb-src https://packages.groonga.org/debian/ jessie main
APT_LINE
sudo apt update
sudo apt install -y -V --allow-unauthenticated groonga-keyring
sudo apt update
sudo apt install -y -V libarrow-dev # For C++
sudo apt install -y -V libarrow-glib-dev # For GLib (C)
```

Ubuntu:

```shell
sudo apt install -y software-properties-common
sudo add-apt-repository -y ppa:groonga/ppa
sudo apt update
sudo apt install -y -V libarrow-dev # For C++
sudo apt install -y -V libarrow-glib-dev # For GLib (C)
```

CentOS:

```shell
sudo yum install -y https://packages.groonga.org/centos/groonga-release-1.3.0-1.noarch.rpm
sudo yum install -y --enablerepo=epel arrow-devel # For C++
sudo yum install -y --enablerepo=epel arrow-glib-devel # For GLib (C)
```

These repositories also provide Apache Parquet C++ and
[Parquet GLib][8]. You can install them by the followings:

Debian GNU/Linux and Ubuntu:

```shell
sudo apt install -y -V libparquet-dev # For Apache Parquet C++
sudo apt install -y -V libparquet-glib-dev # For Parquet GLib (C)
```

CentOS:

```shell
sudo yum install -y --enablerepo=epel parquet-devel # For Apache Parquet C++
sudo yum install -y --enablerepo=epel parquet-glib-devel # For Parquet GLib (C)
```

These repositories are managed at
[red-data-tools/arrow-packages][9]. If you have any feedback, please
send it to the project instead of Apache Arrow project.

[1]: https://dist.apache.org/repos/dist/release/arrow/arrow-0.3.0
[2]: https://github.com/apache/arrow/releases/tag/apache-arrow-0.3.0
[3]: https://dist.apache.org/repos/dist/release/arrow/arrow-0.3.0/apache-arrow-0.3.0.tar.gz.md5
[4]: http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.apache.arrow%22%20AND%20v%3A%220.3.0%22
[5]: http://conda-forge.github.io
[6]: https://dist.apache.org/repos/dist/release/arrow/arrow-0.3.0/apache-arrow-0.3.0.tar.gz
[7]: https://dist.apache.org/repos/dist/release/arrow/arrow-0.3.0/apache-arrow-0.3.0.tar.gz.asc
[8]: https://github.com/red-data-tools/parquet-glib
[9]: https://github.com/red-data-tools/arrow-packages