2024-12-23 22:12:26 -06:00
|
|
|
# Installation
|
2024-12-21 16:36:07 +01:00
|
|
|
|
2024-12-23 22:12:26 -06:00
|
|
|
If you are using a non-rolling release Linux distro such as Debian or
|
|
|
|
|
Ubuntu then you are almost certainly going to have an old version of
|
|
|
|
|
mergerfs installed if you use the "official" package. For that reason
|
|
|
|
|
we provide packages for major stable released distros.
|
2024-12-21 16:36:07 +01:00
|
|
|
|
2024-12-23 22:12:26 -06:00
|
|
|
Before reporting issues or bugs please be sure to upgrade to the
|
|
|
|
|
latest release to confirm they still exist.
|
2024-12-21 16:36:07 +01:00
|
|
|
|
2024-12-23 22:12:26 -06:00
|
|
|
All provided packages can be found at [https://github.com/trapexit/mergerfs/releases](https://github.com/trapexit/mergerfs/releases)
|
|
|
|
|
|
2025-01-18 01:14:50 +01:00
|
|
|
## ArchLinux
|
2024-12-23 22:12:26 -06:00
|
|
|
|
2025-01-18 01:14:50 +01:00
|
|
|
1. Setup AUR
|
|
|
|
|
2. `pacman -S mergerfs`
|
2024-12-21 16:36:07 +01:00
|
|
|
|
2025-01-18 01:14:50 +01:00
|
|
|
## CentOS / Rocky
|
2024-12-23 22:12:26 -06:00
|
|
|
|
2025-01-18 01:14:50 +01:00
|
|
|
Get the RPM from the [releases page](https://github.com/trapexit/mergerfs/releases).
|
2024-12-21 16:36:07 +01:00
|
|
|
|
|
|
|
|
```
|
2025-01-18 01:14:50 +01:00
|
|
|
wget https://github.com/trapexit/mergerfs/releases/download/<ver>/mergerfs-<ver>.el<rel>.<arch>.rpm
|
|
|
|
|
sudo rpm -i mergerfs-<ver>.el<rel>.<arch>.rpm
|
2024-12-21 16:36:07 +01:00
|
|
|
```
|
|
|
|
|
|
2025-01-18 01:14:50 +01:00
|
|
|
## Debian based OS
|
2024-12-23 22:12:26 -06:00
|
|
|
|
2025-01-18 01:14:50 +01:00
|
|
|
Debian/Ubuntu/Raspberry Pi
|
2024-12-21 16:36:07 +01:00
|
|
|
|
2025-01-18 01:14:50 +01:00
|
|
|
Most Debian based OS installs are of a stable branch and therefore do not have
|
2024-12-21 16:36:07 +01:00
|
|
|
the most up to date software. While mergerfs is available via `apt` it
|
|
|
|
|
is suggested that users install the most recent version available from
|
|
|
|
|
the [releases page](https://github.com/trapexit/mergerfs/releases).
|
|
|
|
|
|
2024-12-23 22:12:26 -06:00
|
|
|
### prebuilt deb
|
2024-12-21 16:36:07 +01:00
|
|
|
|
2025-01-18 01:14:50 +01:00
|
|
|
#### Debian
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
wget https://github.com/trapexit/mergerfs/releases/download/<ver>/mergerfs_<ver>.debian-<rel>_<arch>.deb
|
|
|
|
|
sudo dpkg -i mergerfs_<ver>.debian-<rel>_<arch>.deb
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
#### Ubuntu
|
|
|
|
|
|
2024-12-21 16:36:07 +01:00
|
|
|
```
|
|
|
|
|
wget https://github.com/trapexit/mergerfs/releases/download/<version>/mergerfs_<ver>.ubuntu-<rel>_<arch>.deb
|
2024-12-23 22:12:26 -06:00
|
|
|
sudo dpkg -i mergerfs_<ver>.ubuntu-<rel>_<arch>.deb
|
2024-12-21 16:36:07 +01:00
|
|
|
```
|
|
|
|
|
|
2024-12-23 22:12:26 -06:00
|
|
|
### apt
|
2024-12-21 16:36:07 +01:00
|
|
|
|
|
|
|
|
```
|
|
|
|
|
sudo apt install -y mergerfs
|
|
|
|
|
```
|
|
|
|
|
|
2024-12-23 22:12:26 -06:00
|
|
|
## Fedora
|
|
|
|
|
|
|
|
|
|
Get the RPM from the [releases page](https://github.com/trapexit/mergerfs/releases).
|
2024-12-21 16:36:07 +01:00
|
|
|
|
|
|
|
|
```
|
|
|
|
|
wget https://github.com/trapexit/mergerfs/releases/download/<ver>/mergerfs-<ver>.fc<rel>.<arch>.rpm
|
|
|
|
|
sudo rpm -i mergerfs-<ver>.fc<rel>.<arch>.rpm
|
|
|
|
|
```
|
|
|
|
|
|
2025-05-08 21:44:57 +09:00
|
|
|
## SUSE/OpenSUSE
|
|
|
|
|
|
|
|
|
|
Avaliable at [filesystems repo](https://build.opensuse.org/package/show/filesystems/mergerfs)
|
|
|
|
|
|
|
|
|
|
if you have not added the repo (e.g. in case of OpenSUSE Tumbleweed, rel=openSUSE_Tumbleweed):
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
zypper addrepo https://download.opensuse.org/repositories/filesystems/<rel>/filesystems.repo
|
|
|
|
|
zypper refresh
|
|
|
|
|
zypper install mergerfs
|
|
|
|
|
```
|
|
|
|
|
|
2025-01-18 01:14:50 +01:00
|
|
|
## FreeBSD
|
2024-12-23 22:12:26 -06:00
|
|
|
|
2025-01-18 01:14:50 +01:00
|
|
|
[https://www.freshports.org/filesystems/mergerfs](https://www.freshports.org/filesystems/mergerfs)
|
2024-12-21 16:36:07 +01:00
|
|
|
|
|
|
|
|
```
|
2025-01-18 01:14:50 +01:00
|
|
|
pkg install filesystems/mergerfs
|
2024-12-21 16:36:07 +01:00
|
|
|
```
|
|
|
|
|
|
2025-01-12 14:55:04 -06:00
|
|
|
## NixOS
|
|
|
|
|
|
|
|
|
|
[search.nixos.org](https://search.nixos.org/packages?channel=unstable&show=mergerfs&from=0&size=50&sort=relevance&type=packages&query=mergerfs)
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
nix-env -iA nixos.mergerfs
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Other Linux Distros
|
|
|
|
|
|
|
|
|
|
[Check your distro.](../related_projects.md#distributions-including-mergerfs)
|
|
|
|
|
|
|
|
|
|
## Static Linux Binaries
|
2024-12-21 16:36:07 +01:00
|
|
|
|
2025-01-12 14:55:04 -06:00
|
|
|
If your distro does not package mergerfs there are static binaries
|
|
|
|
|
provided.
|
2024-12-21 16:36:07 +01:00
|
|
|
|
2024-12-23 22:12:26 -06:00
|
|
|
Get the tarball from the [releases page](https://github.com/trapexit/mergerfs/releases).
|
|
|
|
|
|
2024-12-21 16:36:07 +01:00
|
|
|
```
|
|
|
|
|
wget https://github.com/trapexit/mergerfs/releases/download/<ver>/mergerfs-static-linux_<arch>.tar.gz
|
|
|
|
|
sudo tar xvf mergerfs-static-linux_<arch>.tar.gz -C /
|
|
|
|
|
```
|