Install and configure tabcmd and Tableau Hyper Library on Linux
The Tableau Hyper is Tableau's in-memory data engine technology optimized for fast data load and analytical query processing on large or complex data sets.
Install tabcmd
To install tabcmd on a Linux machine ensure that the following prerequisites are met.
- Python3 and Pip3
- Root privileges
- Uninstall any existing tabcmd versions. Use the appropriate uninstallation process based on your operating system.
Steps
- Log in as Root user using the
sudo -s
command: -
Confirm that you are logged in as the root user by executing
whoami
The output displays
root
- Install
pip3
(Python 3 package manager) if not installed already.sudo apt update
sudo apt install python3-pip
- Verify the installation using the
pip3 --version
command. - Install tabcmd. You can install the latest version of tabcmd using
pip3
:pip3 install tabcmd
Next steps
- Verify the installation.
- Check the tabcmd version using the following command to ensure it's correctly
installed:
tabcmd --version
The output displays:
Tableau Server Command Line Utility v2.0.14
To check the location of the installed tabcmd executable, run which
tabcmd
The expected path should be: /usr/local/bin/tabcmd
After installing tabcmd, verify that you can successfully log in to Tableau Server or Tableau Cloud using the following commands:
- Basic authentication: Log in using username and password:
tabcmd login -s <https://online.tableau.com> -t mysite -u [email protected] -p password
- Personal Access Token: Log in using the access token:
tabcmd login --server “http://exampleserver.com" --site "examplesite" --token-name "tokenname" --token-value "exampletoken"
tabcmd.log
file records the details of
your tabcmd actions. It is included in the directory where the tabcmd program is
running.Install Tableau Hyper Library
Steps
- Download and extract the Hyper library.
- Download the Tableau Hyper library zip file:
- You can download the latest Hyper library certified for the Tableau snap pack from here. You can also download other versions based on your requirements by changing the version in the URL. For example, if you need version 0.0.13129, navigate to: https://downloads.tableau.com/esdalt/JSON/hyper_api/tableauhyperapi.0.0.13129.json
- Extract the downloaded file using this command: unzip tableauhyperapi-java-linux-x86_64-release-main.0.0.20746.reac9bd2d.zip
- Download the Tableau Hyper library zip file:
- Move the extracted
lib/hyper
directory to a location accessible by the root user:mv lib/ /home/
lib |--hyper | |--hyperdstarter | |--hyperd
- Set the
TABLEAU_HYPER_LIBS
environment variable. You can set up thehyper lib
using either of the following methods:
Method 1: Temporary setup | Method 2: Permanent setup |
---|---|
|
|