# Install log4cpp

Configurable logging for C++. Version 1.1.6 via Homebrew; verified 2026-03-13.

## Install

```sh
sudo av install brew:log4cpp
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install log4cpp
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install log4cpp
```

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

### Linux

- apk (92%):

```sh
sudo apk add log4cpp
```

  Evidence: Alpine Linux edge package indexes: log4cpp from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install liblog4cpp5-dev
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#log4cpp
```

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

- zypper (92%):

```sh
sudo zypper install liblog4cpp5
```

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

## Package Facts

- **Package key:** brew:log4cpp
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/log4cpp>
- **Version:** 1.1.6
- **Source summary:** Configurable logging for C++
- **Homepage:** <https://log4cpp.sourceforge.net/>
- **Repository:** <https://sourceforge.net/p/log4cpp/codegit>
- **Upstream docs:** <https://log4cpp.sourceforge.net/>
- **License:** LGPL-2.1-or-later
- **Source archive:** <https://downloads.sourceforge.net/project/log4cpp/log4cpp-1.1.x%20%28new%29/log4cpp-1.1/log4cpp-1.1.6.tar.gz>
- **Last updated:** 2026-03-13T01:03:18Z
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- log4cpp-config (cli)
- log4cpp-config (alias)

## Build Dependencies

- autoconf
- automake
- libtool

## Install Behavior

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

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 1.1.6
- Package-manager updated: 2026-03-13
- Local data status: ok
- Upstream repository: https://log4cpp.sourceforge.net/
- info: Release/tag comparison is only available for GitHub repositories.

## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** log4cpp
- **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 - liblog4cpp5-dev - 1.1.4-1: normalized package name match | Debian stable package indexes: liblog4cpp5-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C++ library for flexible logging (development) | http://log4cpp.sourceforge.net
- Debian apt - liblog4cpp5v5 - 1.1.4-1: normalized package name match | Debian stable package indexes: liblog4cpp5v5 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | C++ library for flexible logging (runtime) | http://log4cpp.sourceforge.net
- Nix - log4cpp: normalized package name match | nixpkgs package indexes: pkgs/by-name/lo/log4cpp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - liblog4cpp5-dev - 1.1.3-3.1: normalized package name match | Ubuntu 24.04 LTS package indexes: liblog4cpp5-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | C++ library for flexible logging (development) | http://log4cpp.sourceforge.net
- Ubuntu apt - liblog4cpp5v5 - 1.1.3-3.1: normalized package name match | Ubuntu 24.04 LTS package indexes: liblog4cpp5v5 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | C++ library for flexible logging (runtime) | http://log4cpp.sourceforge.net
- apk - log4cpp - 1.1.5-r0: normalized package name match | Alpine Linux edge package indexes: log4cpp from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Log library for C++ | https://log4cpp.sourceforge.net/
- apk - log4cpp-dev - 1.1.5-r0: normalized package name match | Alpine Linux edge package indexes: log4cpp-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Log library for C++ (development files) | https://log4cpp.sourceforge.net/
- zypper - liblog4cpp5 - 1.1.6-1.2: normalized package name match | openSUSE Tumbleweed package metadata: liblog4cpp5 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | Logging for C++ | https://log4cpp.sourceforge.net/
- zypper - log4cpp-devel - 1.1.6-1.2: normalized package name match | openSUSE Tumbleweed package metadata: log4cpp-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | Development tools for Log for C++ | https://log4cpp.sourceforge.net/
- zypper - log4cpp-doc - 1.1.6-1.2: normalized package name match | openSUSE Tumbleweed package metadata: log4cpp-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | HTML formatted API documention for Log for C++ | https://log4cpp.sourceforge.net/
- MacPorts - log4cpp: normalized package name match | MacPorts ports tree: devel/log4cpp/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related Links

- [Terminal utility packages](https://www.automicvault.com/de/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/de/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/de/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/de/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [libtool](https://www.automicvault.com/de/pkg/brew/libtool/) - Build dependency declared by Homebrew.
- [autoconf](https://www.automicvault.com/de/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/de/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [fastnetmon](https://www.automicvault.com/de/pkg/brew/fastnetmon/) - Popular package that depends on this formula.
- [log4c](https://www.automicvault.com/de/pkg/brew/log4c/) - Shares av.db curated category or tags: cli, developer-tools, library, log4j-inspired, logging.
- [zlog](https://www.automicvault.com/de/pkg/brew/zlog/) - Shares av.db curated category or tags: cli, developer-tools, library, logging.
- [nerdlog](https://www.automicvault.com/de/pkg/brew/nerdlog/) - Shares av.db curated category or tags: cli, developer-tools, logging.
- [purr](https://www.automicvault.com/de/pkg/brew/purr/) - Shares av.db curated category or tags: cli, developer-tools, logging.
- [enchant](https://www.automicvault.com/de/pkg/brew/enchant/) - Shares av.db curated category or tags: c-plus-plus, cli, developer-tools, library.
- [hl](https://www.automicvault.com/de/pkg/brew/hl/) - Shares av.db curated category or tags: cli, developer-tools, logging.
- [tailspin](https://www.automicvault.com/de/pkg/brew/tailspin/) - Shares av.db curated category or tags: cli, developer-tools, logging.
- [logdy](https://www.automicvault.com/de/pkg/brew/logdy/) - Shares av.db curated category or tags: cli, developer-tools, logging.
- [htmlcxx](https://www.automicvault.com/de/pkg/brew/htmlcxx/) - Local package facts share a topical domain. Shared terms: c-plus-plus, cli, developer, developer-tools, library.
- [omniorb](https://www.automicvault.com/de/pkg/brew/omniorb/) - Local package facts share a topical domain. Shared terms: c-plus-plus, cli, developer, developer-tools, plus.

## 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
