libxdg-basedir
« Back to VersTracker
Description:
C implementation of the XDG Base Directory specifications
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: System utilities
Tags: c-library xdg linux configuration filesystem
Install: brew install libxdg-basedir
About:
LibxdgBasedir is a lightweight C library that provides a straightforward implementation of the XDG Base Directory specification. It simplifies the management of user-specific configuration, cache, and data directories by abstracting environment variables and default paths. This allows developers to build compliant applications without manually handling filesystem logic.
Key Features:
  • Compliant with XDG Base Directory Specification
  • Lightweight C library with no external dependencies
  • Simple API for locating standard directories
  • Supports both user and system-wide paths
Use Cases:
  • Managing configuration files in Linux desktop applications
  • Implementing standard directory structures in C utilities
  • Ensuring cross-distribution consistency for app data storage
Alternatives:
  • xdg-utils – Shell-based utilities for desktop integration, whereas LibxdgBasedir provides a C library for direct programmatic access.
Version History
Detected Version Rev Change Commit
Sep 16, 2025 3:08am 0 VERSION_BUMP b6e7fb83