Pre-built Packages

Once you install TileDB, visit the Usage page to see how to use TileDB in your programs.

Homebrew
Docker
Conda
Windows binaries
Homebrew

The core TileDB library can be installed easily using the Homebrew package manager for macOS. Install instructions for Homebrew are provided on the package manager’s website.

To install the latest stable version of TileDB:

$ brew update
$ brew install tiledb-inc/stable/tiledb

HDFS and S3 backends are enabled by default. To disable one or more backends, use the --without- switch to disable them:

$ brew install tiledb-inc/stable/tiledb --without-s3
$ brew install tiledb-inc/stable/tiledb --without-hdfs

A full list of build options can be viewed with the info command:

$ brew info tiledb-inc/stable/tiledb

Other helpful brew commands:

# Upgrade to the latest stable version of TileDB
brew upgrade tiledb-inc/stable/tiledb
# Uninstall TileDB
brew uninstall tiledb-inc/stable/tiledb

The Homebrew Tap is located at https://github.com/TileDB-Inc/homebrew.

Docker

TileDB is available as a pre-built Docker image. For a latest version, run:

$ docker pull tiledb/tiledb
$ docker run -it tiledb/tiledb

For a specific TileDB version, run:

# <version> could be 1.2.0
$ docker pull tiledb/tiledb:<version>
$ docker run -it tiledb/tiledb:<version>
Conda

A package for TileDB is available for the Conda package manager. Conda makes it easy to install software into separate distinct environments on Windows, Linux, and macOS

$ conda create -n tiledb
$ conda activate tiledb
$ conda install -c conda-forge tiledb

If you are compiling / linking against the TileDB conda package, you may need to explicitly add the conda path after activating the environment with conda activate tiledb, sinceconda activate sets the CONDA_PREFIX environment variable:

$ export CPATH=$CONDA_PREFIX/include
$ export LIBRARY_PATH=$CONDA_PREFIX/lib
$ export LD_LIBRARY_PATH=$CONDA_PREFIX/lib

Instead of exporting those environment variables, you can pass them as command line flags during compilation:

$ g++ -std=c++11 example.cpp -o example -I$CONDA_PREFIX/include -L$CONDA_PREFIX/lib -ltiledb
Windows binaries

You can download pre-built Windows binaries in the .zip file from the latest TileDB release. You can then simply configure your project (if you are using Visual Studio) according to the Windows usage instructions.