mirror of
https://github.com/rclone/rclone.git
synced 2024-11-27 10:50:03 +08:00
7f2e9d9a6b
Google cloud package requires go v1.5 to compile, so we need to require the same for rclone. Fixes #408
965 B
965 B
title | description | date |
---|---|---|
Install | Rclone Installation | 2016-03-28 |
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/...
See the Usage section of the docs for how to use rclone, or
run rclone -h
.
linux binary downloaded files install example
unzip rclone-v1.17-linux-amd64.zip
cd rclone-v1.17-linux-amd64
#copy binary file
sudo cp rclone /usr/sbin/
sudo chown root:root /usr/sbin/rclone
sudo chmod 755 /usr/sbin/rclone
#install manpage
sudo mkdir -p /usr/local/share/man/man1
sudo cp rclone.1 /usr/local/share/man/man1/
sudo mandb