---
name: "archrepo2solv"
section: "1"
platform: "linux"
package: "libsolv"
version: "0.7.41-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/archrepo2solv"
---

# archrepo2solv(1)

convert files in Arch repository format into a solv file

## NAME

archrepo2solv - convert files in Arch repository format into a solv file

## SYNOPSIS

**archrepo2solv** \[*OPTIONS*\]

## DESCRIPTION

The archrepo2solv tool reads Arch Linux repository data (**core.db**) from stdin, and writes it as solv file to standard output.

- **-l** *DATABASEDIR*

  Instead of reading from standard input, scan the specified directory for package meta files. Set *DATABASEDIR* to **/var/lib/pacman/local** to scan the installed packages.

## SEE ALSO

[pacman(8)](/pacman/8.md)

## AUTHOR

Michael Schroeder \<mls@suse.de\>
