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
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:
1
$ brew update
2
$ brew install tiledb-inc/stable/tiledb
Copied!
HDFS and S3 backends are enabled by default. To disable one or more backends, use the --without- switch to disable them:
1
$ brew install tiledb-inc/stable/tiledb --without-s3
2
$ brew install tiledb-inc/stable/tiledb --without-hdfs
Copied!
A full list of build options can be viewed with the info command:
1
$ brew info tiledb-inc/stable/tiledb
Copied!
Other helpful brew commands:
1
# Upgrade to the latest stable version of TileDB
2
brew upgrade tiledb-inc/stable/tiledb
3
4
# Uninstall TileDB
5
brew uninstall tiledb-inc/stable/tiledb
Copied!
The Homebrew Tap is located at https://github.com/TileDB-Inc/homebrew.
TileDB is available as a pre-built Docker image. For a latest version, run:
1
$ docker pull tiledb/tiledb
2
$ docker run -it tiledb/tiledb
Copied!
For a specific TileDB version, run:
1
# <version> could be 1.2.0
2
$ docker pull tiledb/tiledb:<version>
3
$ docker run -it tiledb/tiledb:<version>
Copied!
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
1
$ conda create -n tiledb
2
$ conda activate tiledb
3
$ conda install -c conda-forge tiledb
Copied!
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:
1
$ export CPATH=$CONDA_PREFIX/include
2
$ export LIBRARY_PATH=$CONDA_PREFIX/lib
3
$ export LD_LIBRARY_PATH=$CONDA_PREFIX/lib
Copied!
Instead of exporting those environment variables, you can pass them as command line flags during compilation:
1
$ g++ -std=c++11 example.cpp -o example -I$CONDA_PREFIX/include -L$CONDA_PREFIX/lib -ltiledb
Copied!
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.
Last modified 2yr ago
Copy link