# libxls を Homebrew, dnf, MacPorts, Nix, zypper でインストール

libxls のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:libxls
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install libxls
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libxls
```

  証拠: MacPorts ports tree: textproc/libxls/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- dnf (92%):

```sh
sudo dnf install libxls
```

  証拠: Fedora Rawhide package metadata: libxls 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#libxls
```

  証拠: nixpkgs package indexes: pkgs/by-name/li/libxls/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install libxls-devel
```

  証拠: openSUSE Tumbleweed package metadata: libxls-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:libxls
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.6.3
- **ソース概要:** Read binary Excel files from C/C++
- **ホームページ:** <https://github.com/libxls/libxls>
- **リポジトリ:** <https://github.com/libxls/libxls>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- libxls2csv (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.6.3
## プロジェクトの歴史と使われ方

libxls is a C/C++ library and small command-line toolkit for reading the legacy binary Excel XLS format. Its package-manager identity is tied to a practical problem: extracting data from old spreadsheets without automating Microsoft Excel.

### プロジェクトの歴史

The public source history records copyright lines for Komarov Valery in 2004, Christophe Leitienne in 2006, David Hoerl from 2008 through 2017, and Evan Miller from 2013 through 2018. The GitHub project describes the library as a parser for Excel files in the old binary OLE format and as the home of a CSV conversion tool.

By the 1.5.x series the project had been moved under new maintenance. The project README calls out the GitHub hosting move, an in-memory parsing API, error-returning internals, fuzz testing, and fixes for security vulnerabilities in the 1.4-and-earlier line.

### 採用の歴史

libxls spread through Unix package managers because the XLS format remained common in public data, research archives, and office exports long after XLSX became the default Office format. The R tidyverse readxl package documents libxls as its embedded reader for .xls files, which made the library visible to data analysts who never installed it directly.

### 使われ方

Typical use is either linking the C library to inspect worksheets and cells, or running the bundled converter on an XLS file before feeding the result to text-based data tools. The library is most relevant when the input is the old binary XLS/OLE format rather than OOXML XLSX.

### パッケージ好きにとっての重要性

For package maintainers, libxls is a small example of a compatibility library whose value comes from preserving access to awkward legacy binary formats. Its 1.5-era fuzzing and error-handling work also turned an old parser into something more acceptable for distro builds that may process untrusted documents.

### タイムライン

- 2004: Source copyright records Komarov Valery's early libxls work.
- 2008: The v0.2.0 tag is associated with a GitHub commit dated 2008-03-30.
- 2018: The maintained GitHub line includes Evan Miller copyright years through 2018.
- 2019: The 1.5.x series marks the project's new-maintenance era with fuzzing and security fixes.

### Related projects

- readxl embeds libxls for .xls support and RapidXML for .xlsx support. The library also sits near tools that understand Microsoft Compound Document/OLE files and older Excel BIFF records.

### ソース

- <https://api.github.com/repos/libxls/libxls/commits/6c45c4adcb80d0575d71306652e201ad01b125c7>
- <https://github.com/libxls/libxls>
- <https://github.com/libxls/libxls/blob/dev/include/xls.h>
- <https://readxl.tidyverse.org/reference/readxl-package.html>


## セキュリティノート

library-like package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- library-like package without higher-risk signals

## 他のパッケージマネージャ記録

- Nix - libxls: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libxls/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - libxls - 1.6.3-8.fc45: normalized package name match | Fedora Rawhide package metadata: libxls from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Read binary Excel files from C/C++ | https://github.com/libxls/libxls
- dnf - libxls-devel - 1.6.3-8.fc45: normalized package name match | Fedora Rawhide package metadata: libxls-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for libxls | https://github.com/libxls/libxls
- zypper - libxls-devel - 1.6.3-1.6: normalized package name match | openSUSE Tumbleweed package metadata: libxls-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Header files for libxls | https://github.com/libxls/libxls
- zypper - libxls-tools - 1.6.3-1.6: normalized package name match | openSUSE Tumbleweed package metadata: libxls-tools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Utility for parsing Excel (XLS) files | https://github.com/libxls/libxls
- zypper - libxlsreader8 - 1.6.3-1.6: normalized package name match | openSUSE Tumbleweed package metadata: libxlsreader8 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Library for Parsing Excel (XLS) Files | https://github.com/libxls/libxls
- MacPorts - libxls: normalized package name match | MacPorts ports tree: textproc/libxls/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/libxls.yml](https://github.com/mxcl/pkgdb/blob/main/combined/libxls.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
