Box.com Client Installation in EndeavourOS – Step-by-step

January 12, 2022 | By the+gnu+linux+evangelist.

Installing

  1. 2. Installing Dependencies

    Install Required Package
    Simply play:

    sudo pacman -Sy davfs2 unzip python2 python2-setuptools

    For the Legacy releases eventually replace python2 with python in the above Command.
    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.

  2. 3. Downloading Box.com Client

    Download Box Sync Linux Client for EndeavourOS

    Box Sync Linux .zip
  3. 4. Making Target Folder

    Next to Make the Box Sync Directory
    Run:

    mkdir $HOME/Box
  4. 5. Extracting Box.com EndeavourOSive

    Extract Box .zip EndeavourOSive
    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.

  5. 6. Installing box.com Sync Client

    Now to Install box.com Sync Client on EndeavourOS
    First, Access the Target:

    cd $HOME/box-linux-sync-master/bin

    Now Check your Default Python Version with:

    python -V

    And in case of Python 3 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 python ./setup.py install

    Update the Credentials:

    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


QuickChic Theme • Powered by WordPress