Forum: Building VoltDB Applications

Post: Voltdb tutorial: command not found

Voltdb tutorial: command not found
Oct 9, 2013
I am going thru the first volt db tutorial:

I successfully created and started the database.

I open a new terminal and type the following

sqlcmd: command not found

Am I doing something wrong? Do I just need to add sqlcmd to the execution path? I am fairly new to linux.
Oct 9, 2013
Oct 9, 2013
Hi Abe,

Glad you found that. An optional step that I always do when I install VoltDB is to create a symlink directory "voltdb" and then I add the voltdb/bin directory to my PATH. This way, I can upgrade or switch between versions and editions of VoltDB easily. I just remove and re-create the symlink to point everything to the right folder.

For example:

cd $HOME
tar -xzvf LINUX-voltdb-3.6.tar.gz
ln -s voltdb-3.6 voltdb

Then I add "$HOME/voltdb/bin" to PATH, and never have to touch PATH again.

To switch to another version, I just remove and replace the symlink

cd $HOME
rm voltdb
ln -s voltdb-3.7 voltdb