macOS
brew install libxclocal Homebrew formula metadata
sudo port install libxcMacPorts ports tree · science/libxc/Portfile · 来源: api.github.com
安装
brew install libxclocal Homebrew formula metadata
sudo port install libxcMacPorts ports tree · science/libxc/Portfile · 来源: api.github.com
sudo dnf install libxcFedora Rawhide package metadata · libxc · 来源: dl.fedoraproject.org
nix profile install nixpkgs#libxcnixpkgs package indexes · pkgs/by-name/li/libxc/package.nix · 来源: api.github.com
sudo apt install libxc-devDebian stable package indexes · libxc-dev · 来源: deb.debian.org
sudo zypper install libxc-developenSUSE Tumbleweed package metadata · libxc-devel · 来源: download.opensuse.org
概览
Library of exchange and correlation functionals for codes
历史
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.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
xc-info | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | 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 |
| Pulse | updated |
| 依赖 | gcc |
| 构建依赖 | cmake |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libxc |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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-devlibxc9 5.2.3-3
Library of Exchange-Correlation Functionals
http://www.tddft.org/programs/octopus/wiki/index.php/Libxc
sudo apt install libxc9libxc
nix profile install nixpkgs#libxclibxc-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-devlibxc9 5.2.3-1ubuntu1
Library of Exchange-Correlation Functionals
http://www.tddft.org/programs/octopus/wiki/index.php/Libxc
sudo apt install libxc9libxc 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 libxclibxc-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-develpython3-libxc 7.0.0-11.fc45
Python3 interface to libxc
http://www.tddft.org/programs/octopus/wiki/index.php/Libxc
sudo dnf install python3-libxclibxc-devel 6.2.2-1.8
Development files for libxc
https://www.tddft.org/programs/libxc/
sudo zypper install libxc-devellibxc12 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 libxc12libxc
sudo port install libxc来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.