Skip to content

Commit

Permalink
Create Ubuntu snap for rclone #1120
Browse files Browse the repository at this point in the history
  • Loading branch information
Dedsec1 authored and ncw committed Feb 15, 2017
1 parent 9a9d098 commit 6fc114d
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 0 deletions.
54 changes: 54 additions & 0 deletions docs/content/install.md
Expand Up @@ -93,3 +93,57 @@ Instructions
roles:
- 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 changes: 20 additions & 0 deletions snapcraft.yaml
@@ -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]

0 comments on commit 6fc114d

Please sign in to comment.