Forums

Installing rclone

Hi there

I know there have been a few threads about this - but I am a bit of a novice to Python Anywhere and neither explain "how".

Can anyone explain how you download and install rclone on Python Anywhere through the Bash console?

Alternatively, if you could point me in the direction of a tutorial that would be awesome

I know it's a long shot but would be very grateful!

I am using Python 2.7

Cheers

I think it should work if you just download it and put it in the your account's local binary folder:

  • Go to https://rclone.org/downloads/
  • Copy the URL for AMD64 - 64 Bit / Linux
  • In a bash console, run (replacing "the-url" with the URL from the previous step):

    wget the-url -O rclone.zip
    unzip rclone.zip
    mv rclone-*/rclone ~/.local/bin
    

Hi there

Thanks for responding

I assume I will need the full URL: https://downloads.rclone.org/v1.48.0/rclone-v1.48.0-linux-amd64.zip

I see you've put a red box around an area on Line 3 of the code - is there anything significant about that?

Hi again

How do I do these steps of setting up rclone?

Python Anywhere does not support sudo

Copy binary file

sudo cp rclone /usr/bin/ sudo chown root:root /usr/bin/rclone sudo chmod 755 /usr/bin/rclone

Install manpage

sudo mkdir -p /usr/local/share/man/man1 sudo cp rclone.1 /usr/local/share/man/man1/ sudo mandb

The red box was just our forum software's syntax highlighter getting confused; just use the very last step (the mv command) to install rclone so that your can run it. No need to do anything with sudo.

Forum syntax highlighter is getting Confucious