-
Notifications
You must be signed in to change notification settings - Fork 2
Installation From Source
James Fantin-Hardesty edited this page Sep 2, 2025
·
10 revisions
Follow these instructions to install the latest version of Go.
git clone https://github.com/Seagate/cloudfuse/
cd cloudfuse
git checkout -b main origin/main
If you do not have git, install it via:
sudo apt-get install git
Cloudfuse compiles with cgo and the build script uses Zig as the C/C++ compiler driver (zig cc / zig c++). You must have libfuse development libraries and Zig installed on Linux.
sudo apt-get update
sudo apt-get install -y libfuse-dev zig
sudo yum install -y fuse fuse-libs zig
Notes:
- If your distribution packages Zig under a different name, install Zig from the upstream package or official instructions.
The repository includes a build script at the repository root (build.sh). The script:
- On Linux:
- By default builds cloudfuse with the fuse3 support. To build with fuse2 (for an older version of Linux) instead, pass the single argument
fuse2
:- Default (fuse3):
./build.sh
- Build for fuse2:
./build.sh fuse2
- Default (fuse3):
- Always builds the health-monitor binary (cfusemon).
- By default builds cloudfuse with the fuse3 support. To build with fuse2 (for an older version of Linux) instead, pass the single argument
- On Windows (via Git Bash), the script builds:
- cloudfuse.exe
- cfusemon.exe (health monitor)
- windows-startup.exe (startup tool)
- windows-service.exe
Run the build script:
./build.sh
If you only want to build with fuse2:
./build.sh fuse2
Follow these instructions to install the latest version of Go.
Using Git Bash on Windows:
git clone https://github.com/Seagate/cloudfuse/
cd cloudfuse
git checkout -b main origin/main
If you do not have git, install it from here.
Follow these instructions to install WinFSP.
Run the build script from Git Bash:
./build.sh
This will produce:
- cloudfuse.exe
- cfusemon.exe
- windows-startup.exe
- windows-service.exe