Automic VaultAutomic Vault

brew

使用 Homebrew, dnf, MacPorts, Nix, apt, zypper 安装 libxc

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libxc

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install libxc

MacPorts ports tree · science/libxc/Portfile · 来源: api.github.com

Linux

Fedora dnf已验证 · 92%
sudo dnf install libxc

Fedora Rawhide package metadata · libxc · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#libxc

nixpkgs package indexes · pkgs/by-name/li/libxc/package.nix · 来源: api.github.com

Debian apt已验证 · 92%
sudo apt install libxc-dev

Debian stable package indexes · libxc-dev · 来源: deb.debian.org

openSUSE zypper已验证 · 92%
sudo zypper install libxc-devel

openSUSE Tumbleweed package metadata · libxc-devel · 来源: download.opensuse.org

概览

软件包摘要

Library of exchange and correlation functionals for codes

命令和别名

  • xc-info

历史

项目历史与用法

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.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
xc-infocli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本7.1.2
管理器更新时间2026-07-20
本地数据OK
上游not checked
检测到的最新版本未检测到

https://libxc.gitlab.io/

安装元数据

软件包元数据

软件包键brew:libxc
版本7.1.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/libxc
主页https://libxc.gitlab.io/
仓库https://gitlab.com/libxc/libxc
上游文档https://libxc.gitlab.io/manual
许可证MPL-2.0
源码归档https://gitlab.com/libxc/libxc/-/archive/7.1.2/libxc-7.1.2.tar.bz2
最后更新2026-07-20T18:47:49Z
Pulseupdated
依赖gcc
构建依赖cmake
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibxc
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

libxc-dev 5.2.3-3

Library of Exchange-Correlation Functionals (development files)

http://www.tddft.org/programs/octopus/wiki/index.php/Libxc

sudo apt install libxc-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libxc
  • 2 依赖
  • normalized package name match
  • 匹配方式:Libxc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libxc-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libxc9 5.2.3-3

Library of Exchange-Correlation Functionals

http://www.tddft.org/programs/octopus/wiki/index.php/Libxc

sudo apt install libxc9
  • Section: libs
  • Architecture: amd64
  • Source Package: libxc
  • 3 依赖
  • normalized package name match
  • 匹配方式:Libxc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libxc9 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

libxc

nix profile install nixpkgs#libxc
  • normalized package name match
  • 匹配方式:Libxc
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/libxc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libxc-dev 5.2.3-1ubuntu1

Library of Exchange-Correlation Functionals (development files)

http://www.tddft.org/programs/octopus/wiki/index.php/Libxc

sudo apt install libxc-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: libxc
  • 2 依赖
  • normalized package name match
  • 匹配方式:Libxc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libxc-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libxc9 5.2.3-1ubuntu1

Library of Exchange-Correlation Functionals

http://www.tddft.org/programs/octopus/wiki/index.php/Libxc

sudo apt install libxc9
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: libxc
  • 2 依赖
  • normalized package name match
  • 匹配方式:Libxc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libxc9 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

libxc 7.0.0-11.fc45

Library of exchange and correlation functionals for density-functional theory

http://www.tddft.org/programs/octopus/wiki/index.php/Libxc

sudo dnf install libxc
  • License: MPL-2.0
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libxc
  • 6 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Libxc
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libxc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libxc-devel 7.0.0-11.fc45

Development library and headers for libxc

http://www.tddft.org/programs/octopus/wiki/index.php/Libxc

sudo dnf install libxc-devel
  • License: MPL-2.0
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libxc
  • 7 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Libxc
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libxc-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

python3-libxc 7.0.0-11.fc45

Python3 interface to libxc

http://www.tddft.org/programs/octopus/wiki/index.php/Libxc

sudo dnf install python3-libxc
  • License: MPL-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: libxc
  • 3 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Libxc
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: python3-libxc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

libxc-devel 6.2.2-1.8

Development files for libxc

https://www.tddft.org/programs/libxc/

sudo zypper install libxc-devel
  • License: MPL-2.0
  • Category: Development/Libraries/Other
  • Architecture: x86_64
  • Source Package: libxc
  • 4 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Libxc
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libxc-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libxc12 6.2.2-1.8

Library of exchange and correlation functionals to be used in DFT codes

https://www.tddft.org/programs/libxc/

sudo zypper install libxc12
  • License: MPL-2.0
  • Category: System/Libraries
  • Architecture: x86_64
  • Source Package: libxc
  • 5 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式:Libxc
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libxc12 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

libxc

sudo port install libxc
  • normalized package name match
  • 匹配方式:Libxc
MacPorts ports tree · api.github.com · MacPorts ports tree: science/libxc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment