Files
François Degros 5131ff55ae Migrate project to C++23
- Standardize on -std=c++23 across all targets.
- Verified compatibility with GCC 15.2.0.
2026-05-11 11:48:17 +10:00

2.5 KiB

How to Build

Prerequisites

To build fuse-archive, you need the following libraries:

On Debian systems, you can get these libraries by installing the following packages:

$ sudo apt install libboost-container-dev libfuse3-dev libarchive-dev

For compatibility reasons, fuse-archive can optionally use the old FUSE 2 library libfuse >= 2.9. On Debian systems, you can install FUSE 2 by installing the following package:

$ sudo apt install libfuse-dev

To build fuse-archive, you also need the following tools:

On Debian systems, you can get these tools by installing the following packages:

$ sudo apt install g++ pkg-config make libgtest-dev pandoc

To test fuse-archive, you also need the following external programs for certain formats and encodings:

Most other formats, such as ZIP, 7Z, RAR, TAR, ISO, UU, Lzip, XZ, and Gzip, are handled natively by the libraries or by the mounter itself and do not require additional tools.

On Debian systems, you can install the necessary tools by running:

$ sudo apt install mount python3 brotli coreutils gpg lrzip lzop ncompress

Get the Source Code

$ git clone https://github.com/google/fuse-archive.git
$ cd fuse-archive

Build fuse-archive

$ make

With debugging assertions

$ DEBUG=1 make

With FUSE 2

$ FUSE_MAJOR_VERSION=2 make

Test fuse-archive

All tests (including slow tests)

$ make check

Only fast tests

$ make check-fast

Install fuse-archive

$ sudo make install

Uninstall fuse-archive

$ sudo make uninstall