Install Rclone

You can install Rclone either for all users on a system or for a single user.

Install Rclone System-Wide

Assuming you have administrative priviledges, you can install Rclone across your system.

  • On Oracle Linux 7, install Rclone by using yum:
    $ sudo yum install -y rclone
    
  • On other Linux distributions, use the installation script provided by Rclone. Download and run that script to install the latest version of Rclone system-wide:
    $ curl https://rclone.org/install.sh | sudo bash

Install Rclone for Individual Use

If you don’t have administrative privileges or don’t want to install Rclone system-wide, you can download the latest binary and use it directly.

Use the following string of commands to download Rclone, create a /bin directory in your home folder, and add it to your PATH environment variable:
$ mkdir ~/Temp
$ cd ~/Temp/
$ curl -O https://downloads.rclone.org/rclone-current-linux-amd64.zip
$ unzip rclone-current-linux-amd64.zip
$ cd rclone-*-linux-amd64
$ mkdir ~/bin
$ cp rclone ~/bin/
$ export PATH=$PATH:~/bin
$ echo 'export PATH=$PATH:~/bin' >> ~/.bashrc # Optional, only if you want to add it to
your path at every login 

Note:

PATH is reset when you log out unless you put it to your .bashrc