These instructions presume that you have already created an account. An account cannot be created from the command line, but once created, you can set up additional devices from the command line.
We recommend that you install SpiderOak ONE through your distribution's package manager, which will normally require software installation privileges. If this isn't possible, you can use this method to install SpiderOak ONE to your home directory. This is not an officially supported means of installation and you will be on your own, but we hope you will find this information useful. These instructions assume a basic familiarity with command line use and text editing.
1) Download the appropriate package for your distribution and architecture.
2) Create a directory for SpiderOak ONE to live in. Take note of the full path to this directory as we will need it later. For example, here we will create the directories /home/bob/bin and /home/$USER/SpiderOakONE, and enter the latter:
bob@machine:~$ mkdir -p bin SpiderOakONE bob@machine:~$ cd bin
3) Unpack the package into this directory. How this is done depends on your distribution. In the following examples, we assume you have downloaded the 64 bit 6.0.1 package into the Downloads directory of your home.
For Debian-based distributions (Debian, Ubuntu, etc.):
bob@machine:~/SpiderOakONE$ dpkg-deb -x ~/Downloads/spideroakone_6.0.1_amd64.deb ./
For RedHat-based distributions (Fedora, RHEL, SUSE, etc.):
bob@machine:~/SpiderOakONE$ rpm2cpio ~/Downloads/SpiderOakONE-6.0.1-1.x86_64.rpm | cpio -vid
For Slackware:
bob@machine:~/SpiderOakONE$ tar xfz ~/Downloads/SpiderOakONE-6.0.1-x86_64-1.tgz
4) Now that you have SpiderOak ONE unpacked, copy its startup script to the /home/bob/bin directory :
bob@machine:~/SpiderOakONE$ cp usr/bin/SpiderOakONE ~/bin/
5) Edit the startup script, changing the paths to match your installation. Following our example, you would manually replace the three instances of /opt/SpiderOakONE with $HOME/SpiderOakONE/opt/SpiderOakONE. Alternatively you can let sed
do the work for you:
sed -i ~/bin/SpiderOakONE -e "s/\"\\/opt/\"\$HOME\\/SpiderOakONE\\/opt/"
However you do it, the startup script should look like:
!/BIN/SH LD_LIBRARY_PATH="$HOME/SpiderOakONE/opt/SpiderOakONE/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" export LD_LIBRARY_PATH QT_PLUGIN_PATH="$HOME/SpiderOakONE/opt/SpiderOakONE/lib/plugins/" export QT_PLUGIN_PATH SpiderOakONE_EXEC_SCRIPT=$(cd dirname $0 ; pwd)/SpiderOakONE export SpiderOakONE_EXEC_SCRIPT exec "$HOME/SpiderOakONE/opt/SpiderOakONE/lib/SpiderOakONE" "$@"
6) Now that you have installed SpiderOak ONE, set up a new device. Keep in mind that the executable that you will use is the full path to the startup script that you have edited in step five above. For instance and following our example, SpiderOakONE --setup=-
would become /home/bob/SpiderOakONE/SpiderOakONE --setup=-
.
Now, simply run the startup script (/home/bob/SpiderOakONE/SpiderOakONE in this example) to launch SpiderOak ONE. If you are running headless or batchmode, be sure to use the --headless or --batchmode option.
If you have any feedback on this article please let our support team know. Thanks!