# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, zypper 安装 xsane

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

## 安装

```sh
sudo av install brew:xsane
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install xsane
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install xsane
```

  证据: MacPorts ports tree: graphics/xsane/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add xsane
```

  证据: Alpine Linux edge package indexes: xsane from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install xsane
```

  证据: Debian stable package indexes: xsane from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install xsane
```

  证据: Fedora Rawhide package metadata: xsane from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#xsane
```

  证据: nixpkgs package indexes: pkgs/by-name/xs/xsane/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install xsane
```

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

## 软件包事实

- **软件包键:** brew:xsane
- **软件包管理器:** Homebrew
- **版本:** 0.999
- **来源摘要:** Graphical scanning frontend
- **主页:** <https://gitlab.com/sane-project/frontend/xsane>
- **最后更新:** 2026-07-11T15:25:44+09:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- xsane (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

XSane is Oliver Rauch's graphical scanning frontend for SANE, the Scanner Access Now Easy stack. It is a GTK/X11-style application for acquiring scanned images, saving files, making copies, building multipage documents, sending fax or e-mail output, and using scanning from GIMP.

### 项目历史

XSane grew out of the SANE architecture, which deliberately separates frontends from scanner backends. The official XSane documentation emphasizes that XSane itself does not support scanners directly; it uses the SANE library, while scanner support belongs to sane-backends.

The upstream GitLab tag history reaches from early 0.x releases through 0.999, and SANE mailing-list archives show XSane release traffic by 2001. The project became one of the classic full-featured Linux scanning GUIs before simpler desktop frontends such as Simple Scan became common defaults.

### 采用历史

XSane was adopted because it exposed much of SANE's backend power in a graphical interface: preview, scan options, color correction, batch scanning, copy workflows, multipage output, fax and e-mail modes, and GIMP integration. That made it attractive to users who needed more than a one-button scanner dialog.

Distribution packaging spread it widely across Unix-like systems. The Free Software Directory describes it as a GTK-based X11 frontend for SANE that works standalone or as a GIMP plugin, and package metadata still carries it in Homebrew, Debian, Fedora, Alpine, MacPorts, Nix, Ubuntu, and openSUSE ecosystems.

### 使用方式

In practice, users launch `xsane`, choose a SANE device, preview the scan area, adjust backend-specific options, and save to image/document formats or route output into copy, fax, e-mail, multipage, or GIMP workflows.

Troubleshooting usually crosses the frontend/backend boundary. The XSane documentation tells users that scanner-detection and hardware behavior problems normally belong to the SANE backend, not to XSane itself, which is an important packaging distinction when debugging scanner support.

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

XSane is a package-nerd reminder that old desktop utilities often encode a clean Unix split: frontend package, backend driver stack, optional plugin integration, and external tools for print/mail/fax output.

It also preserves the power-user side of Linux scanning. Even when lighter frontends are the default, XSane remains useful because it exposes detailed scan controls and workflows that package repositories can keep available independently of a desktop environment.

### 时间线

- 1996: SANE begins as the scanner API/backend architecture that XSane later uses.
- 2001: SANE mailing-list archives show active XSane release discussion, including XSane 0.77.
- 2000s: XSane becomes a common GTK/X11 graphical SANE frontend and GIMP acquisition plugin.
- 2015: Upstream tag history reaches XSane 0.999.
- 2020s: XSane remains packaged as a mature SANE frontend across Unix-like package managers.

### Related projects

- SANE backends provide the scanner drivers XSane talks to.
- scanimage is the command-line SANE frontend for scriptable scanning.
- Simple Scan / GNOME Document Scanner is a simpler graphical SANE frontend.
- Skanlite is KDE's SANE-based scanning frontend.
- GIMP can use XSane as an image-acquisition plugin.

### 来源

- <https://directory.fsf.org/wiki/Xsane>
- <https://gitlab.com/sane-project/frontend/xsane.git>
- <https://gitlab.com/sane-project/frontend/xsane/-/raw/master/doc/sane-xsane-doc.html>
- <https://sane-project.gitlab.io/website/old-archive/2001-05/0343.html>
- <https://www.sane-project.org/>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

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

- Debian apt - xsane - 0.999-12.2: normalized package name match | Debian stable package indexes: xsane from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | featureful graphical frontend for SANE (Scanner Access Now Easy)
- Debian apt - xsane-common - 0.999-12.2: normalized package name match | Debian stable package indexes: xsane-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | xsane architecture independent files
- Nix - xsane: normalized package name match | nixpkgs package indexes: pkgs/by-name/xs/xsane/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - xsane - 0.999-12ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: xsane from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | featureful graphical frontend for SANE (Scanner Access Now Easy)
- Ubuntu apt - xsane-common - 0.999-12ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: xsane-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | xsane architecture independent files
- apk - xsane - 0.999-r2: normalized package name match | Alpine Linux edge package indexes: xsane from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Graphical SANE frontend | http://www.xsane.org/
- apk - xsane-doc - 0.999-r2: normalized package name match | Alpine Linux edge package indexes: xsane-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Graphical SANE frontend (documentation) | http://www.xsane.org/
- apk - xsane-lang - 0.999-r2: normalized package name match | Alpine Linux edge package indexes: xsane-lang from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Languages for package xsane | http://www.xsane.org/
- dnf - xsane - 0.999-81.fc45: normalized package name match | Fedora Rawhide package metadata: xsane from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | X Window System front-end for the SANE scanner interface | http://www.xsane.org/
- dnf - xsane-common - 0.999-81.fc45: normalized package name match | Fedora Rawhide package metadata: xsane-common from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Common files for xsane packages | http://www.xsane.org/
- zypper - xsane - 0.999-8.3: normalized package name match | openSUSE Tumbleweed package metadata: xsane from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A GTK-Based Graphical Scanning Front-End for SANE | http://www.xsane.org/
- MacPorts - xsane: normalized package name match | MacPorts ports tree: graphics/xsane/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/xsane.yml](https://github.com/mxcl/pkgdb/blob/main/combined/xsane.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
