Skip to content

Blobfuse2 Installation

Gauri Prasad edited this page Oct 13, 2022 · 25 revisions

Install from Apt/Yum Package Repositories

blobfuse2 is currently available in the Microsoft product repositories for Ubuntu, Debian, CentOS, RedHat, SUSE and Mariner distros. Packages are only available for x86 platforms.

1. Configure the apt/yum repository for Microsoft products following this guideline.

2. Install blobfuse2

Ubuntu 18.04 / Debian 9 / Debian 10

sudo apt-get install fuse blobfuse2

Ubuntu 20.04 / Ubuntu 22.04 / Debian 11

sudo apt-get install fuse fuse3 blobfuse2

CentOS / RedHat

sudo yum install fuse fuse3 blobfuse2

SUSE

sudo zypper install fuse fuse3 blobfuse2

Mariner

sudo tdnf install fuse fuse3 blobfuse2

Now you're all set to go!

Install from Source

1. Install GoLang 1.16.X following this guideline

2. Clone the GitHub repository

git clone https://github.com/Azure/azure-storage-fuse/
cd azure-storage-fuse
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 / Debian 9 / Debian 10

sudo apt-get install fuse libfuse-dev

Ubuntu 20.04 / Ubuntu 22.04 / Debian 11

sudo apt-get install fuse libfuse-dev fuse3 libfuse3-dev 

CentOS / RedHat

sudo yum install fuse libfuse-dev fuse3 libfuse3-dev 

SUSE

sudo zypper install fuse libfuse-dev fuse3 libfuse3-dev 

Mariner

sudo tdnf install fuse libfuse-dev fuse3 libfuse3-dev 

4. Build

Run the build script located in the root folder of the repository.

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

./build.sh health

Ubuntu 18.04 / Debian 9 / Debian 10

./build.sh fuse2

Ubuntu 20.04 / Ubuntu 22.04 / Debian 11 / CentOS / RedHat / SUSE / Mariner

./build.sh