# 使用 Homebrew, zypper 安装 squashfs

查看 squashfs 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:squashfs
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install squashfs
```

  证据: local Homebrew formula metadata

### Linux

- zypper (92%):

```sh
sudo zypper install squashfs
```

  证据: openSUSE Tumbleweed package metadata: squashfs from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:squashfs
- **软件包管理器:** Homebrew
- **版本:** 4.7.5
- **来源摘要:** Compressed read-only file system for Linux
- **主页:** <https://github.com/plougher/squashfs-tools>
- **仓库:** <https://github.com/plougher/squashfs-tools>
- **最后更新:** 2026-07-13T17:31:47+09:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- mksquashfs (别名)
- sqfscat (别名)
- sqfstar (别名)
- unsquashfs (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 4.7.5
## 项目历史与用法

Squashfs-tools provides the user-space tools for creating, extracting, listing, and converting SquashFS compressed read-only filesystems.

### 项目历史

The Squashfs-tools changelog records an initial 1.0 release in 2002 and a 4.0 release in April 2009 with major filesystem improvements. The Linux kernel documentation describes SquashFS as a compressed read-only filesystem for Linux intended for archival use and constrained block-device or memory systems.

### 采用历史

The official kernel documentation says squashfs-tools is very likely packaged by Linux distributions, and the project README includes packaging-status material. The input package-manager facts list Homebrew and zypper for this formula.

### 使用方式

The main commands are mksquashfs for building images and unsquashfs for extracting or listing them, with newer sqfstar and sqfscat commands supporting tar-style and cat-style workflows. Recent releases emphasize reproducible images, parallel reading, streaming output, and richer help/man-page coverage.

### 为什么软件包爱好者会关心

Package nerds care because SquashFS images are common in live systems, appliance-style images, containers, firmware, and compressed software payloads. The tools are the boring but essential bridge between package contents and a compact read-only filesystem artifact.

### 时间线

- 2002: Squashfs-tools 1.0 initial release.
- 2006: 3.0 and 3.1 releases added major filesystem and tools improvements.
- 2009: 4.0 release introduced major filesystem improvements.
- 2023: 4.6 release improved xattrs, pseudo files, and conversion workflows.
- 2025: 4.7 release added parallel file reading and reproducible-image improvements.
- 2026: 4.7.5 bug-fix release published.

### Related projects

- Linux SquashFS kernel driver, cramfs, initramfs/live media build systems, mksquashfs, unsquashfs, sqfstar, sqfscat.

### 来源

- <https://api.github.com/repos/plougher/squashfs-tools/releases>
- <https://github.com/plougher/squashfs-tools#readme>
- <https://github.com/plougher/squashfs-tools/blob/master/CHANGES.md>
- <https://github.com/plougher/squashfs-tools/tree/master/Documentation/4.7.5>
- <https://raw.githubusercontent.com/torvalds/linux/master/Documentation/filesystems/squashfs.rst>
- source_facts.package-manager


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 其他软件包管理器记录

- zypper - squashfs - 4.6.1-2.10: normalized package name match | openSUSE Tumbleweed package metadata: squashfs from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A Read-Only File System with Efficient Compression | https://github.com/plougher/squashfs-tools


## Combined YAML source

View the package source record on GitHub. [combined/squashfs.yml](https://github.com/mxcl/pkgdb/blob/main/combined/squashfs.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
