You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

97 lines
2.6 KiB

  1. # Installation
  2. If you are using a non-rolling release Linux distro such as Debian or
  3. Ubuntu then you are almost certainly going to have an old version of
  4. mergerfs installed if you use the "official" package. For that reason
  5. we provide packages for major stable released distros.
  6. Before reporting issues or bugs please be sure to upgrade to the
  7. latest release to confirm they still exist.
  8. All provided packages can be found at [https://github.com/trapexit/mergerfs/releases](https://github.com/trapexit/mergerfs/releases)
  9. ## ArchLinux
  10. 1. Setup AUR
  11. 2. `pacman -S mergerfs`
  12. ## CentOS / Rocky
  13. Get the RPM from the [releases page](https://github.com/trapexit/mergerfs/releases).
  14. ```
  15. wget https://github.com/trapexit/mergerfs/releases/download/<ver>/mergerfs-<ver>.el<rel>.<arch>.rpm
  16. sudo rpm -i mergerfs-<ver>.el<rel>.<arch>.rpm
  17. ```
  18. ## Debian based OS
  19. Debian/Ubuntu/Raspberry Pi
  20. Most Debian based OS installs are of a stable branch and therefore do not have
  21. the most up to date software. While mergerfs is available via `apt` it
  22. is suggested that users install the most recent version available from
  23. the [releases page](https://github.com/trapexit/mergerfs/releases).
  24. ### prebuilt deb
  25. #### Debian
  26. ```
  27. wget https://github.com/trapexit/mergerfs/releases/download/<ver>/mergerfs_<ver>.debian-<rel>_<arch>.deb
  28. sudo dpkg -i mergerfs_<ver>.debian-<rel>_<arch>.deb
  29. ```
  30. #### Ubuntu
  31. ```
  32. wget https://github.com/trapexit/mergerfs/releases/download/<version>/mergerfs_<ver>.ubuntu-<rel>_<arch>.deb
  33. sudo dpkg -i mergerfs_<ver>.ubuntu-<rel>_<arch>.deb
  34. ```
  35. ### apt
  36. ```
  37. sudo apt install -y mergerfs
  38. ```
  39. ## Fedora
  40. Get the RPM from the [releases page](https://github.com/trapexit/mergerfs/releases).
  41. ```
  42. wget https://github.com/trapexit/mergerfs/releases/download/<ver>/mergerfs-<ver>.fc<rel>.<arch>.rpm
  43. sudo rpm -i mergerfs-<ver>.fc<rel>.<arch>.rpm
  44. ```
  45. ## FreeBSD
  46. [https://www.freshports.org/filesystems/mergerfs](https://www.freshports.org/filesystems/mergerfs)
  47. ```
  48. pkg install filesystems/mergerfs
  49. ```
  50. ## NixOS
  51. [search.nixos.org](https://search.nixos.org/packages?channel=unstable&show=mergerfs&from=0&size=50&sort=relevance&type=packages&query=mergerfs)
  52. ```
  53. nix-env -iA nixos.mergerfs
  54. ```
  55. ## Other Linux Distros
  56. [Check your distro.](../related_projects.md#distributions-including-mergerfs)
  57. ## Static Linux Binaries
  58. If your distro does not package mergerfs there are static binaries
  59. provided.
  60. Get the tarball from the [releases page](https://github.com/trapexit/mergerfs/releases).
  61. ```
  62. wget https://github.com/trapexit/mergerfs/releases/download/<ver>/mergerfs-static-linux_<arch>.tar.gz
  63. sudo tar xvf mergerfs-static-linux_<arch>.tar.gz -C /
  64. ```