# Install libxc

Library of exchange and correlation functionals for codes. Version 7.0.0 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install libxc
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libxc
```

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

### Linux

- Debian apt (92%):

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

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

- dnf (92%):

```sh
sudo dnf install libxc
```

  Evidence: Fedora Rawhide package metadata: libxc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#libxc
```

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

- zypper (92%):

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

  Evidence: openSUSE Tumbleweed package metadata: libxc-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

## Package Facts

- **Package key:** brew:libxc
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/libxc>
- **Version:** 7.0.0
- **Source summary:** Library of exchange and correlation functionals for codes
- **Homepage:** <https://libxc.gitlab.io/>
- **Repository:** <https://gitlab.com/libxc/libxc>
- **Upstream docs:** <https://libxc.gitlab.io/manual>
- **License:** MPL-2.0
- **Source archive:** <https://gitlab.com/libxc/libxc/-/archive/7.0.0/libxc-7.0.0.tar.bz2>
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- xc-info (cli)
- xc-info (alias)

## Dependencies

- gcc

## Build Dependencies

- cmake

## Install Behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 7.0.0
- Local data status: ok
- Upstream repository: https://libxc.gitlab.io/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.

## 安全说明

library-like package without higher-risk signals.

- **Geiger risk:** green / low
- library-like package without higher-risk signals

## Source Database Details

- **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:** stable

## Other Package-Manager Records

- 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.0.0-10.fc44: normalized package name match | Fedora Rawhide package metadata: libxc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-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.0.0-10.fc44: 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/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | Development library and headers for libxc | http://www.tddft.org/programs/octopus/wiki/index.php/Libxc
- dnf - python3-libxc - 7.0.0-10.fc44: 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/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | Python3 interface to libxc | http://www.tddft.org/programs/octopus/wiki/index.php/Libxc
- zypper - libxc-devel - 6.2.2-1.8: normalized package name match | openSUSE Tumbleweed package metadata: libxc-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | Development files for libxc | https://www.tddft.org/programs/libxc/
- zypper - libxc12 - 6.2.2-1.8: normalized package name match | openSUSE Tumbleweed package metadata: libxc12 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-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


## Related Links

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Scientific computing packages](https://www.automicvault.com/zh-hans/pkg/scientific-computing-tools/) - Matched scientific computing metadata.
- [Homebrew utility packages](https://www.automicvault.com/zh-hans/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [gcc](https://www.automicvault.com/zh-hans/pkg/brew/gcc/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/zh-hans/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [nwchem](https://www.automicvault.com/zh-hans/pkg/brew/nwchem/) - Popular package that depends on this formula.
- [cp2k](https://www.automicvault.com/zh-hans/pkg/brew/cp2k/) - Popular package that depends on this formula.
- [votca](https://www.automicvault.com/zh-hans/pkg/brew/votca/) - Popular package that depends on this formula.
- [udunits](https://www.automicvault.com/zh-hans/pkg/brew/udunits/) - Shares av.db curated category or tags: cli, library, science, scientific-computing.
- [itk](https://www.automicvault.com/zh-hans/pkg/brew/itk/) - Shares av.db curated category or tags: cli, library, science, scientific-computing.
- [numpy](https://www.automicvault.com/zh-hans/pkg/brew/numpy/) - Shares av.db curated category or tags: cli, science, scientific-computing.
- [vtk](https://www.automicvault.com/zh-hans/pkg/brew/vtk/) - Shares av.db curated category or tags: cli, science, scientific-computing.
- [geos](https://www.automicvault.com/zh-hans/pkg/brew/geos/) - Shares av.db curated category or tags: cli, library, science.
- [gromacs](https://www.automicvault.com/zh-hans/pkg/brew/gromacs/) - Local package facts share a topical domain. Shared terms: chemistry, cli, computational, computational-chemistry, science.

## Sources

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