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

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

## インストール

```sh
sudo av install brew:libxc
```

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

### macOS

- Homebrew (100%):

```sh
brew install libxc
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libxc
```

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

### Linux

- dnf (92%):

```sh
sudo dnf install libxc
```

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

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

- Debian apt (92%):

```sh
sudo apt install libxc-dev
```

  証拠: Debian stable package indexes: libxc-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- zypper (92%):

```sh
sudo zypper install libxc-devel
```

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

## パッケージ情報

- **パッケージキー:** brew:libxc
- **パッケージマネージャ:** Homebrew
- **バージョン:** 7.1.2
- **ソース概要:** Library of exchange and correlation functionals for codes
- **ホームページ:** <https://libxc.gitlab.io/>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- xc-info (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

Libxc is a scientific C library of exchange-correlation and kinetic-energy functionals for density-functional theory, with Fortran and Python bindings for integration into electronic-structure codes.

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

Libxc began with the aim of providing a portable, well tested, reliable set of functionals for codes of the European Theoretical Spectroscopy Facility. The 2012 Computer Physics Communications paper presented a library containing routines for around 180 functionals and their derivatives, addressing a reproducibility problem caused by many slightly different implementations across electronic-structure programs.

The project later grew beyond its ETSF origin into a shared dependency for many quantum-chemistry and solid-state codes. Its own site records an important implementation shift in version 4 in 2017, when Libxc moved from hand-written C implementations to automatic code generation with Maple.

### 採用の歴史

Libxc adoption is visible through the citation expectations on the project site and through its list of interfacing programs. Codes use it so they can expose a broad, named set of density-functional approximations without reimplementing each functional locally.

The 2018 SoftwareX paper became the preferred citation for later versions, reflecting the library's growth from a compact common functional set into a comprehensive, maintained reference implementation for DFT software.

### 使われ方

Developers link Libxc into simulation codes and call its APIs to evaluate LDA, GGA, meta-GGA, hybrid, and related functionals. Packagers care about ABI, bindings, and the xc-info tool because downstream scientific packages often need a consistent functional catalog across C, Fortran, and Python interfaces.

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

Libxc is one of those quiet HPC packages that standardizes scientific meaning, not just linkage. In a dependency graph it signals that an electronic-structure code can delegate a notoriously broad and error-prone part of DFT to a common implementation.

### タイムライン

- 2012-03-08: The original Libxc paper was submitted to arXiv.
- 2012: The early Libxc reference appeared in Computer Physics Communications.
- 2017: Libxc version 4 switched to automatic Maple-based code generation.
- 2018: The SoftwareX paper 'Recent developments in Libxc' became the preferred citation for maintained versions.

### Related projects

- Related projects include ETSF codes, DFT-FE, DFTK.jl, Elk, and other density-functional-theory and electronic-structure packages that interface with Libxc.

### ソース

- <https://arxiv.org/abs/1203.1739>
- <https://gitlab.com/libxc/libxc>
- <https://libxc.gitlab.io/>
- <https://libxc.gitlab.io/manual>


## セキュリティノート

library-like package without higher-risk signals.

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

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

- Debian apt - libxc-dev - 5.2.3-3: normalized package name match | Debian stable package indexes: libxc-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Library of Exchange-Correlation Functionals (development files) | http://www.tddft.org/programs/octopus/wiki/index.php/Libxc
- Debian apt - libxc9 - 5.2.3-3: normalized package name match | Debian stable package indexes: libxc9 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Library of Exchange-Correlation Functionals | http://www.tddft.org/programs/octopus/wiki/index.php/Libxc
- Nix - libxc: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libxc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libxc-dev - 5.2.3-1ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: libxc-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Library of Exchange-Correlation Functionals (development files) | http://www.tddft.org/programs/octopus/wiki/index.php/Libxc
- Ubuntu apt - libxc9 - 5.2.3-1ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: libxc9 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Library of Exchange-Correlation Functionals | http://www.tddft.org/programs/octopus/wiki/index.php/Libxc
- dnf - libxc - 7.1.2-3.fc45: normalized package name match | Fedora Rawhide package metadata: libxc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Library of exchange and correlation functionals for density-functional theory | http://www.tddft.org/programs/octopus/wiki/index.php/Libxc
- dnf - libxc-devel - 7.1.2-3.fc45: normalized package name match | Fedora Rawhide package metadata: libxc-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development library and headers for libxc | http://www.tddft.org/programs/octopus/wiki/index.php/Libxc
- dnf - python3-libxc - 7.1.2-3.fc45: normalized package name match | Fedora Rawhide package metadata: python3-libxc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Python3 interface to libxc | http://www.tddft.org/programs/octopus/wiki/index.php/Libxc
- zypper - libxc-devel - 6.2.2-1.10: normalized package name match | openSUSE Tumbleweed package metadata: libxc-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Development files for libxc | https://www.tddft.org/programs/libxc/
- zypper - libxc12 - 6.2.2-1.10: normalized package name match | openSUSE Tumbleweed package metadata: libxc12 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Library of exchange and correlation functionals to be used in DFT codes | https://www.tddft.org/programs/libxc/
- MacPorts - libxc: normalized package name match | MacPorts ports tree: science/libxc/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/libxc.yml](https://github.com/mxcl/pkgdb/blob/main/combined/libxc.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
