RClone Install

From Tech Wiki
Revision as of 14:37, 30 April 2016 by Adam.birds (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Install

Rclone is a Go program and comes as a single binary file.

Download the relevant binary.

Or alternatively if you have Go 1.5+ installed use:

go get github.com/ncw/rclone

and this will build the binary in $GOPATH/bin. If you have built rclone before then you will want to update its dependencies first with this:

go get -u -v github.com/ncw/rclone/...

If you opted to download the binary files please follow the below:

unzip rclone-v1.17-linux-amd64.zip
cd rclone-v1.17-linux-amd64
sudo cp rclone /usr/sbin/
sudo chown root:root /usr/sbin/rclone
sudo chmod 755 /usr/sbin/rclone
sudo mkdir -p /usr/local/share/man/man1
sudo cp rclone.1 /usr/local/share/man/man1/
sudo mandb