tabcmd on Linux

The Tableau Community is pretty amazing – did you know that tabcmd will work just fine on Linux if you install the right files? There’s a lot of running stuff in that thread, so I’m going to write up the short version, which I’ve tested and confirmed with tabcmd from 9.3 and the 10.0 beta. (With a million thanks to Jeff Solomon who came up with this, and all the others on the thread):

  1. Run the installer from stand-alone tabcmd (on a Windows machine) : C:\Program Files\Tableau\Tableau Server\{version}\extras\TabcmdInstaller-x64.exe . Install to a directory you know.
  2. On your Linux machine, create a tabcmd directory in $HOME/lib.
  3. Copy all of the files in lib from the Windows machine to the $Home/lib/tabcmd directory on the Linux machine
  4. In the tabcmd directory, create  a ~/.tabcmd directory. This is used for logs, session storage and file uploads.
  5. Create the following bash script, save it as


java -Xmx64m -Xss2048k -Djsse.enableSNIExtension=false -Dpid=$$ -Dlog.file=$HOME/.tabcmd/tabcmd.log -Dsession.file=$HOME/.tabcmd/tabcmd-session.xml -Din.progress.dir=$HOME/.tabcmd -Dconsole.codepage=$LANG -Dconsole.cols=$COLUMNS -cp "$HOME/lib/tabcmd/*" com.tableausoftware.tabcmd.Tabcmd "$@"

Note on HTTPS: Per the end of the thread, if you are connecting to an HTTPS Tableau Server, you must submit every command with an additional –no-certcheck parameter. This bypasses the one dependency on Windows.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s