|
1 | 1 | #!/bin/bash
|
2 | 2 |
|
3 |
| -sudo apt update |
4 |
| -sudo apt install -y -V ca-certificates lsb-release wget |
| 3 | +apt-get update |
| 4 | +apt-get install -y ca-certificates lsb-release wget |
5 | 5 | wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
|
6 |
| -sudo apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb |
7 |
| -sudo apt update |
8 |
| -sudo apt install -y -V libarrow-dev # For C++ |
9 |
| -sudo apt install -y -V libarrow-glib-dev # For GLib (C) |
10 |
| -sudo apt install -y -V libarrow-dataset-dev # For Apache Arrow Dataset C++ |
11 |
| -sudo apt install -y -V libarrow-flight-dev # For Apache Arrow Flight C++ |
| 6 | +apt-get install -y ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb |
| 7 | +apt-get update |
| 8 | +apt-get install -y libarrow-dev # For C++ |
| 9 | +apt-get install -y libarrow-glib-dev # For GLib (C) |
| 10 | +apt-get install -y libarrow-dataset-dev # For Apache Arrow Dataset C++ |
| 11 | +apt-get install -y libarrow-flight-dev # For Apache Arrow Flight C++ |
12 | 12 | # Notes for Plasma related packages:
|
13 | 13 | # * You need to enable "non-free" component on Debian GNU/Linux
|
14 | 14 | # * You need to enable "multiverse" component on Ubuntu
|
15 | 15 | # * You can use Plasma related packages only on amd64
|
16 |
| -sudo apt install -y -V libplasma-dev # For Plasma C++ |
17 |
| -sudo apt install -y -V libplasma-glib-dev # For Plasma GLib (C) |
18 |
| -sudo apt install -y -V libgandiva-dev # For Gandiva C++ |
19 |
| -sudo apt install -y -V libgandiva-glib-dev # For Gandiva GLib (C) |
20 |
| -sudo apt install -y -V libparquet-dev # For Apache Parquet C++ |
21 |
| -sudo apt install -y -V libparquet-glib-dev # For Apache Parquet GLib (C) |
| 16 | +apt-get install -y libplasma-dev # For Plasma C++ |
| 17 | +apt-get install -y libplasma-glib-dev # For Plasma GLib (C) |
| 18 | +apt-get install -y libgandiva-dev # For Gandiva C++ |
| 19 | +apt-get install -y libgandiva-glib-dev # For Gandiva GLib (C) |
| 20 | +apt-get install -y libparquet-dev # For Apache Parquet C++ |
| 21 | +apt-get install -y libparquet-glib-dev # For Apache Parquet GLib (C) |
22 | 22 |
|
23 | 23 |
|
24 | 24 |
|
25 | 25 | # https://arrow.apache.org/install/
|
26 |
| -apt update |
27 |
| -apt install -y -V ca-certificates lsb-release wget |
| 26 | +apt-get update |
| 27 | +apt-get install -y ca-certificates lsb-release wget |
28 | 28 | if [ $(lsb_release --codename --short) = "stretch" ]; then
|
29 | 29 | tee /etc/apt/sources.list.d/backports.list <<APT_LINE
|
30 | 30 | deb http://deb.debian.org/debian $(lsb_release --codename --short)-backports main
|
31 | 31 | APT_LINE
|
32 | 32 | fi
|
33 | 33 | # get the LATEST version of Arrow
|
34 | 34 | wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
|
35 |
| -apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb |
36 |
| -apt update |
37 |
| -apt install -y -V libarrow-dev # For C++ |
38 |
| -apt install -y -V libarrow-glib-dev # For GLib (C) |
39 |
| -apt install -y -V libarrow-dataset-dev # For Arrow Dataset C++ |
40 |
| -apt install -y -V libarrow-flight-dev # For Flight C++ |
41 |
| -apt install -y -V libparquet-dev # For Apache Parquet C++ |
42 |
| -apt install -y -V libparquet-glib-dev # For Apache Parquet GLib (C) |
| 35 | +apt-get install -y ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb |
| 36 | +apt-get update |
| 37 | +apt-get install -y libarrow-dev # For C++ |
| 38 | +apt-get install -y libarrow-glib-dev # For GLib (C) |
| 39 | +apt-get install -y libarrow-dataset-dev # For Arrow Dataset C++ |
| 40 | +apt-get install -y libarrow-flight-dev # For Flight C++ |
| 41 | +apt-get install -y libparquet-dev # For Apache Parquet C++ |
| 42 | +apt-get install -y libparquet-glib-dev # For Apache Parquet GLib (C) |
0 commit comments