Skip to content

Commit

Permalink
Add snap installation method (#4301)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhr123 authored Jan 2, 2024
1 parent d1dcd95 commit 0fed1b8
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/en/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,19 @@ sudo dnf copr enable -y juicedata/juicefs
sudo dnf install juicefs
```

#### Snapcraft

We have also packaged and released the [Snap version of the JuiceFS client](https://github.com/juicedata/juicefs-snapcraft) on the [Canonical Snapcraft](https://snapcraft.io) platform for Ubuntu 16.04 and above and other Snap-enabled operating systems can be installed directly using the following command:

```shell
sudo snap install juicefs
# Since Snap is a closed sandbox environment, it may affect
# the client's FUSE mount. You can remove the restriction by
# executing the following command. If you only need to use
# WebDAV and Gateway, there is no need to execute.
sudo ln -s -f /snap/juicefs/current/juicefs /snap/bin/juicefs
```

### Windows

There are two ways to use JuiceFS on Windows systems.
Expand Down
11 changes: 11 additions & 0 deletions docs/zh_cn/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,17 @@ sudo dnf copr enable -y juicedata/juicefs
sudo dnf install juicefs
```

#### Snapcraft

我们也在 [Canonical Snapcraft](https://snapcraft.io) 平台打包并发布了 [Snap 版本的 JuiceFS 客户端](https://github.com/juicedata/juicefs-snapcraft),对于 Ubuntu 16.04 及以上版本和其他支持 Snap 的操作系统,可以直接使用以下命令安装:

```shell
sudo snap install juicefs
# 由于 Snap 是一个封闭的沙箱环境,它会影响客户端的 FUSE 挂载,执行以下命令可以解除限制。
# 如果只需使用 WebDAV 和 Gateway 则不必执行以下命令。
sudo ln -s -f /snap/juicefs/current/juicefs /snap/bin/juicefs
```

### Windows 系统

在 Windows 系统安装 JuiceFS 有以下几种方法:
Expand Down

0 comments on commit 0fed1b8

Please sign in to comment.