Cannot install Odrive on Ubuntu

When typing on terminal the suggested command line:
od="$HOME/.odrive-agent/bin" && curl -L "https://dl.odrive.com/odrive-py" --create-dirs -o "$od/odrive.py" && curl -L "https://dl.odrive.com/odriveagent-lnx-64" | tar -xvzf- -C "$od/" && curl -L "https://dl.odrive.com/odrivecli-lnx-64" | tar -xvzf- -C "$od/"

The installation starts, but I get this message:

*Warning: Failed to open the file /home/aramil/.odrive-agent/bin/odrive.py: *
*Warning: Permission denied*
*  2 74998    2  1570    0     0   1450      0  0:00:51  0:00:01  0:00:50  4397*
*curl: (23) Failure writing output to destination*

I’m new to Linux (coming from WIndows, where I used Odrive for years), so maybe there’s an obvious solution, but I don’t get it. Any help? :smiling_face_with_tear:

Hi @Aramil,
The message indicates a permissions issue when trying to save odrive.py to /home/aramil/.odrive-agent/bin/.

My first guess is maybe anti-virus? Since odrive.py is a python file, it could be seen as potentially dangerous?

See if you are able to manually download it from https://dl.odrive.com/odrive-py and then copy it into
/home/aramil/.odrive-agent/bin/.

You can also opt to download the binary version of the odrive.py, from here: https://dl.odrive.com/odrivecli-lnx-64

Sadly no, @Tony , not working. :pensive:

This is the result even after having downloaded the new odrive.py and substituted to the old one in the
/home/aramil/.odrive-agent/bin/ folder

aramil@AramilGram:~$ od="$HOME/.odrive-agent/bin" && curl -L "https://dl.odrive.com/odrive-py" --create-dirs -o "$od/odrive.py" && curl -L "https://dl.odrive.com/odriveagent-lnx-64" | tar -xvzf- -C "$od/" && curl -L "https://dl.odrive.com/odrivecli-lnx-64" | tar -xvzf- -C "$od/"
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Failed to open the file /home/aramil/.odrive-agent/bin/odrive.py: 
Warning: Permission denied
  2 74998    2  1571    0     0    879      0  0:01:25  0:00:01  0:01:24  1822
curl: (23) Failure writing output to destination

I’ve already checked the file authoryzations, all on “Read and write”


Hi @Aramil,
My apologies for the confusion. I meant that you can download the files manually, instead of using the commands you are trying.

The download links are here: Agent/CLI (Linux, MacOS, Win)

You want to download the sync agent and the CLI for Linux 64bit and put them into $HOME/.odrive-agent/bin/

Once they are in there you can proceed with the instructions from this point: