# Install libproxy with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman

Library that provides automatic proxy configuration management. Version 0.5.12 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:libproxy
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install libproxy
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libproxy
```

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

### Linux

- apk (92%):

```sh
sudo apk add libproxy
```

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

- Debian apt (92%):

```sh
sudo apt install libproxy-dev
```

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

- dnf (92%):

```sh
sudo dnf install libproxy
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#libproxy
```

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

- pacman (92%):

```sh
sudo pacman -S libproxy
```

  Evidence: Arch Linux sync databases: libproxy from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Package facts

- **Package key:** brew:libproxy
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/libproxy>
- **Version:** 0.5.12
- **Source summary:** Library that provides automatic proxy configuration management
- **Homepage:** <https://libproxy.github.io/libproxy/>
- **Repository:** <https://github.com/libproxy/libproxy>
- **Upstream docs:** <https://libproxy.github.io/libproxy>
- **License:** LGPL-2.1-or-later
- **Source archive:** <https://github.com/libproxy/libproxy/archive/refs/tags/0.5.12.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- proxy (cli)
- proxy (alias)

## Dependencies

- duktape
- glib

## Build dependencies

- gobject-introspection
- gsettings-desktop-schemas
- meson
- ninja
- pkgconf
- vala

## Uses from macOS

- curl

## 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-07-08
- Package-manager version: 0.5.12
- Local data: ok
- Upstream repository: https://github.com/libproxy/libproxy
- Upstream latest detected: 0.5.12 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

libproxy is a cross-platform library for automatic proxy configuration. It exists so applications can ask one question, how to reach a network resource, without each application reimplementing environment-variable parsing, desktop proxy settings, PAC, WPAD, and network-change behavior.

### Project history

The project originated before its GitHub repository; the 0.4.12 release notes on 2016-01-12 explicitly say development moved to `github.com/libproxy/libproxy`. The GitHub repository itself was created on 2015-04-17.

The 0.4 series carried the traditional plugin-heavy proxy resolver stack, including desktop-environment integration and JavaScript engines for PAC. In 2023, the 0.5.0 release included a complete rewrite, and subsequent 0.5.x releases concentrated on platform behavior, Windows handling, XDG Desktop Portal support, PAC edge cases, packaging, and build cleanup.

### Adoption history

libproxy spread through desktop and distribution ecosystems because proxy configuration is a cross-application problem. Its README lists support for Windows, Mac, and Linux/UNIX, and the repository displays Repology badges for Arch, Debian, Fedora, FreeBSD, Gentoo, Homebrew, MSYS2, openSUSE, Ubuntu, and others.

### How it is used

Applications and libraries use libproxy to resolve the proxy or direct connection to use for a URL. Homebrew also installs the `proxy` command, giving users a small CLI surface around the same automatic proxy-resolution behavior.

### Why package nerds care

libproxy is package-nerd significant because it is plumbing: when proxy auto-detection is wrong, every downloader, updater, package manager, and network client feels broken. Packaging it consistently lets desktop and CLI software share one resolver instead of each shipping a slightly different proxy stack.

The 0.5 rewrite and later fixes show why distributions care about this library despite its small API. Build options, PAC JavaScript engines, desktop plugins, and platform-specific proxy stores all affect whether higher-level network software works behind corporate and campus proxies.

### Timeline

- 2015-04-17: The GitHub repository was created.
- 2016-01-12: Version 0.4.12 noted the move of development to GitHub.
- 2020-12-04: Version 0.4.16 fixed CVE-2020-26154 and CVE-2020-25219 and updated PAC-related internals.
- 2023-05-15: Version 0.5.0 shipped a complete rewrite.
- 2024-04-25: Version 0.5.6 added XDG Desktop Portal proxy resolver support.

### Related projects

- GNOME, KDE, XDG Desktop Portal, PAC and WPAD implementations, GLib/GIO networking, curl-like downloaders, and operating-system proxy settings are the related ecosystem.

### Sources

- <https://api.github.com/repos/libproxy/libproxy>
- <https://api.github.com/repos/libproxy/libproxy/releases>
- <https://formulae.brew.sh/formula/libproxy>
- <https://github.com/libproxy/libproxy>
- <https://libproxy.github.io/libproxy>
- <https://raw.githubusercontent.com/libproxy/libproxy/main/README.md>


## Security Notes

infrastructure mutation or orchestration signal.

- **Geiger risk:** orange / medium
- infrastructure mutation or orchestration signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** libproxy
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - libproxy-dev - 0.5.9-1: normalized package name match | Debian stable package indexes: libproxy-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | automatic proxy configuration management library (devel) | https://libproxy.github.io/libproxy/
- Debian apt - libproxy-tools - 0.5.9-1: normalized package name match | Debian stable package indexes: libproxy-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | automatic proxy configuration management library (tools) | https://libproxy.github.io/libproxy/
- Debian apt - libproxy1-plugin-gsettings - 0.5.9-1: normalized package name match | Debian stable package indexes: libproxy1-plugin-gsettings from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | transitional package for libproxy GSettings plugin | https://libproxy.github.io/libproxy/
- Debian apt - libproxy1-plugin-kconfig - 0.5.9-1: normalized package name match | Debian stable package indexes: libproxy1-plugin-kconfig from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | transitional package for libproxy KConfig plugin | https://libproxy.github.io/libproxy/
- Debian apt - libproxy1-plugin-networkmanager - 0.5.9-1: normalized package name match | Debian stable package indexes: libproxy1-plugin-networkmanager from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | transitional package for libproxy NetworkManager plugin | https://libproxy.github.io/libproxy/
- Debian apt - libproxy1-plugin-webkit - 0.5.9-1: normalized package name match | Debian stable package indexes: libproxy1-plugin-webkit from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | transitional package for libproxy Webkit plugin | https://libproxy.github.io/libproxy/
- Debian apt - libproxy1v5 - 0.5.9-1: normalized package name match | Debian stable package indexes: libproxy1v5 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | automatic proxy configuration management library (shared) | https://libproxy.github.io/libproxy/
- Nix - libproxy: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libproxy/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libproxy-dev - 0.5.4-4build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libproxy-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | automatic proxy configuration management library (devel) | https://libproxy.github.io/libproxy/
- Ubuntu apt - libproxy-tools - 0.5.4-4build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libproxy-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | automatic proxy configuration management library (tools) | https://libproxy.github.io/libproxy/
- Ubuntu apt - libproxy1-plugin-gsettings - 0.5.4-4build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libproxy1-plugin-gsettings from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | transitional package for libproxy GSettings plugin | https://libproxy.github.io/libproxy/
- Ubuntu apt - libproxy1-plugin-kconfig - 0.5.4-4build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libproxy1-plugin-kconfig from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | transitional package for libproxy KConfig plugin | https://libproxy.github.io/libproxy/
- Ubuntu apt - libproxy1-plugin-networkmanager - 0.5.4-4build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libproxy1-plugin-networkmanager from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | transitional package for libproxy NetworkManager plugin | https://libproxy.github.io/libproxy/
- Ubuntu apt - libproxy1-plugin-webkit - 0.5.4-4build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libproxy1-plugin-webkit from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | transitional package for libproxy Webkit plugin | https://libproxy.github.io/libproxy/
- Ubuntu apt - libproxy1v5 - 0.5.4-4build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libproxy1v5 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | automatic proxy configuration management library (shared) | https://libproxy.github.io/libproxy/
- apk - libproxy - 0.5.12-r0: normalized package name match | Alpine Linux edge package indexes: libproxy from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Library handling all the details of proxy configuration | https://github.com/libproxy/libproxy


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [duktape](https://www.automicvault.com/pkg/brew/duktape/) - Runtime dependency declared by Homebrew.
- [glib](https://www.automicvault.com/pkg/brew/glib/) - Runtime dependency declared by Homebrew.
- [gobject-introspection](https://www.automicvault.com/pkg/brew/gobject-introspection/) - Build dependency declared by Homebrew.
- [meson](https://www.automicvault.com/pkg/brew/meson/) - Build dependency declared by Homebrew.
- [ninja](https://www.automicvault.com/pkg/brew/ninja/) - Build dependency declared by Homebrew.
- [pacparser](https://www.automicvault.com/pkg/brew/pacparser/) - Shares av.db curated category or tags: cli, library, networking, proxy.
- [brook](https://www.automicvault.com/pkg/brew/brook/) - Shares av.db curated category or tags: cli, networking, proxy.
- [connect](https://www.automicvault.com/pkg/brew/connect/) - Shares av.db curated category or tags: cli, networking, proxy.
- [dante](https://www.automicvault.com/pkg/brew/dante/) - Shares av.db curated category or tags: cli, networking, proxy.
- [geph4](https://www.automicvault.com/pkg/brew/geph4/) - Shares av.db curated category or tags: cli, networking, proxy.
- [ghostunnel](https://www.automicvault.com/pkg/brew/ghostunnel/) - Shares av.db curated category or tags: cli, networking, proxy.
- [gost](https://www.automicvault.com/pkg/brew/gost/) - Shares av.db curated category or tags: cli, networking, proxy.
- [hysteria](https://www.automicvault.com/pkg/brew/hysteria/) - Shares av.db curated category or tags: cli, networking, proxy.

## Combined YAML source

View the package source record on GitHub. [combined/libproxy.yml](https://github.com/automic-vault/db/blob/main/combined/libproxy.yml)


## Sources

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