Installing
-
2. Installing Dependencies
Install Required Package
Simply play:sudo apt install davfs2 unzip python2 python-setuptools
And the Add your User to the davfs2 Group with:
sudo usermod -aG davfs2 `whoami`
The `whoami` Command just output your Username.
Then follow working on a New Terminal Window. -
3. Downloading Box.com Client
Download Box Sync Linux Client for Ubuntu
-
4. Making Target Folder
Next to Make the Box Sync Directory
Run:mkdir $HOME/Box
-
5. Extracting Box.com Archive
Extract Box .zip Archive
Here for a Local installation we Extract it into the Home:unzip -d $HOME/ $HOME/Downloads/box*.zip
But if you are in Trouble to Find the Location on Terminal then See: How to Access Downloads Folder from Browser.
-
6. Installing box.com Sync Client
Now to Install box.com Sync Client on Ubuntu
First, Access the Target:cd $HOME/box-linux-sync-master/bin
Then amend the Script with the nano Editor:
nano ./box-sync
And Change the First line in:
#!/usr/bin/python2
Last, Ctrl+x to Save & Exit from nano Editor.
And then run the Installation Script:sudo python2 ./setup.py install
Update the Credentials:
sudo su -c 'echo "https://dav.box.com/dav [MYEMAIL] [MYPASSWORD]" >> /etc/davfs2/secrets'
Replace “[MYEMAIL]“, and “[MYPASSWORD]” with your current one in the above Command.
And again the URL:sudo sh -c 'echo "https://dav.box.com/dav /home/[MYUSERNAME]/Box davfs _netdev,rw,user 0 0" >> /etc/fstab'
Replace [MYUSERNAME] with your current one in the above Command.
In case, to Change the Box Sync Directory Edit the Config File like:nano $HOME/.noiselabs/box/box-sync.cfg
Contents