Quick Install
Once you install TileDB, visit the Usage page to see how to use TileDB in your programs.
C / C++
Python
R
Go
Docker
1
# Homebrew (macOS):
2
$ brew update
3
$ brew install tiledb-inc/stable/tiledb
4
5
# Or Conda (macOS, Linux, Windows):
6
$ conda install -c conda-forge tiledb
7
8
# Or download the pre-built release binaries from (Windows):
9
# https://github.com/TileDB-Inc/TileDB/releases
Copied!
1
# Pip:
2
$ pip install tiledb
3
4
# Or Conda:
5
$ conda install -c conda-forge tiledb-py
Copied!
Conda will install pre-built TileDB-Py and TileDB core binaries for Windows, macOS, or Linux. Pip currently provides binary wheels for Linux, and will build all dependences from source on other platforms (see Building from Source for more information).
1
# -- from CRAN
2
# install most recent release from CRAN
3
install.packages("tiledb")
4
5
# -- alternatively, install from souve via GitHub
6
# install the 'remotes' package if needed
7
# install.packages("remotes")
8
library(remotes)
9
install_github("TileDB-Inc/TileDB-R", ref = github_release())
10
11
# -- verify install
12
library(tiledb)
13
tiledb::tiledb_version()
14
#> major minor patch
15
#> 2 0 8
Copied!
TileDB needs to be installed beforehand (from a package or from source) for the TileDB-R package to build and link correctly. See Pre-built Packages for methods of installing TileDB.

Using TileDB From Custom Location

If the TileDB library is installed in a custom location, you need to pass the explicit path:
1
library(remotes)
2
install_github("TileDB-Inc/TileDB-R",
3
ref = github_release(),
4
args="--configure-args='--with-tiledb=/path/to/tiledb'")
Copied!

Note on Installing with Conda

If you are using R inside conda and want to install TileDB-R you might run into a issue with devtools/remotes around gtar. The error is below:
1
Downloading GitHub repo TileDB-Inc/[email protected]
2
sh: 1: /bin/gtar: not found
3
sh: 1: /bin/gtar: not found
4
Error: Failed to install 'tiledb' from GitHub:
5
Copied!
To fix this, simply export the TAR environmental variable before starting R
1
# Inside conda environment
2
TAR=`which tar` R
3
4
> # Follow instructions at start for installing TileDB-R
Copied!
1
# Go Get
2
$ go get -v github.com/TileDB-Inc/TileDB-Go
3
4
# Go modules
5
go mod init github.com/<github_username>/repository_name
Copied!
Here is a sample go.mod file:
1
module github.com/<github_username>/repository_name
2
3
go 1.13
4
5
require (
6
github.com/TileDB-Inc/TileDB-Go v0.6.0
7
)
Copied!
TileDB needs to be installed beforehand (from a package or from source) for the TileDB-Go library to build and link correctly.
1
$ docker pull tiledb/tiledb
2
$ docker run -it tiledb/tiledb
Copied!
Last modified 1yr ago
Copy link