Skip to content

Installation From Source

James Fantin-Hardesty edited this page Feb 14, 2024 · 10 revisions

Linux

1. Install latest version of Go

Follow this installation from Go.

2. Clone the GitHub repository

git clone https://github.com/Seagate/cloudfuse/
cd cloudfuse
git checkout -b main origin/main

If you do not have git, install git via sudo apt-get install git

3. Install Dependencies

Ubuntu 18.04 / Ubuntu 20.04 / Ubuntu 22.04

sudo apt-get install libfuse-dev

4. Build

Run the build script located in the root folder of the repository. This should produce a binary called "cloudfuse" which you can run on the terminal.

Ubuntu 18.04 / Ubuntu 20.04 / Ubuntu 22.04

./build.sh

If you would also like to build the health monitor binary, run the following command

Ubuntu 18.04 / Ubuntu 20.04 / Ubuntu 22.04

./build.sh health

Windows

1. Install latest version of Go

Follow this installation from Go.

2. Clone the GitHub repository

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 git from here.

3. Install WinFSP

Follow this to install WinFSP.

4. Build

CGO must not be enabled when building on Windows. If not already, run the following to disable CGO.

go env -w CGO_ENABLED=0

Run the build script located in the root folder of the repository using git bash. This should produce an executable called "cloudfuse.exe" which you can run on the terminal.

./build.sh

If you would also like to build the health monitor binary, run the following command

./build.sh health

Clone this wiki locally