forked from TrueCloudLab/rclone
Create Ubuntu snap for rclone #1120
This commit is contained in:
parent
9a9d09845c
commit
6fc114d681
2 changed files with 74 additions and 0 deletions
|
@ -93,3 +93,57 @@ Instructions
|
||||||
roles:
|
roles:
|
||||||
- rclone
|
- rclone
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Installation with snap ##
|
||||||
|
|
||||||
|
### Quickstart ###
|
||||||
|
|
||||||
|
* install Snapd on your distro using the instructions below
|
||||||
|
* sudo snap install rclone --classic
|
||||||
|
* Run `rclone config` to setup. See [rclone config docs](http://rclone.org/docs/) for more details.
|
||||||
|
|
||||||
|
See below for how to install snapd if it isn't already installed
|
||||||
|
|
||||||
|
#### Arch ####
|
||||||
|
|
||||||
|
sudo pacman -S snapd
|
||||||
|
|
||||||
|
enable the snapd systemd service:
|
||||||
|
|
||||||
|
sudo systemctl enable --now snapd.socket
|
||||||
|
|
||||||
|
#### Debian / Ubuntu ####
|
||||||
|
|
||||||
|
sudo apt install snapd
|
||||||
|
|
||||||
|
#### Fedora ####
|
||||||
|
|
||||||
|
sudo dnf copr enable zyga/snapcore
|
||||||
|
sudo dnf install snapd
|
||||||
|
|
||||||
|
enable the snapd systemd service:
|
||||||
|
|
||||||
|
sudo systemctl enable --now snapd.service
|
||||||
|
|
||||||
|
SELinux support is in beta, so currently:
|
||||||
|
|
||||||
|
sudo setenforce 0
|
||||||
|
|
||||||
|
to persist, edit `/etc/selinux/config` to set `SELINUX=permissive` and reboot.
|
||||||
|
|
||||||
|
#### Gentoo ####
|
||||||
|
|
||||||
|
Install the [gentoo-snappy overlay](https://github.com/zyga/gentoo-snappy).
|
||||||
|
|
||||||
|
#### OpenEmbedded/Yocto ####
|
||||||
|
|
||||||
|
Install the [snap meta layer](https://github.com/morphis/meta-snappy/blob/master/README.md).
|
||||||
|
|
||||||
|
#### openSUSE ####
|
||||||
|
|
||||||
|
sudo zypper addrepo http://download.opensuse.org/repositories/system:/snappy/openSUSE_Leap_42.2/ snappy
|
||||||
|
sudo zypper install snapd
|
||||||
|
|
||||||
|
#### OpenWrt ####
|
||||||
|
|
||||||
|
Enable the snap-openwrt feed.
|
||||||
|
|
20
snapcraft.yaml
Normal file
20
snapcraft.yaml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
name: rclone
|
||||||
|
version: 1.35
|
||||||
|
summary: rsync for cloud storage
|
||||||
|
description:
|
||||||
|
Google Drive, Amazon Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Cloudfiles, Google Cloud Storage, Yandex Files.
|
||||||
|
confinement: strict
|
||||||
|
grade: stable
|
||||||
|
|
||||||
|
apps:
|
||||||
|
rclone:
|
||||||
|
command: bin/rclone
|
||||||
|
plugs: [home, network, network-bind]
|
||||||
|
|
||||||
|
parts:
|
||||||
|
rclone:
|
||||||
|
plugin: go
|
||||||
|
source: https://github.com/ncw/rclone
|
||||||
|
source-type: git
|
||||||
|
go-importpath: github.com/ncw/rclone
|
||||||
|
build-packages: [gcc, libgudev-1.0-dev]
|
Loading…
Reference in a new issue