1
1
Fork
You've already forked xrpm
0
Convert rpm package into xbps for void linux inspired by https://github.com/xdeb-org/xdeb
Shell 100%
2025年09月10日 15:45:22 +03:00
README.md idk 2025年09月10日 15:17:44 +03:00
xrpm idk 2025年09月10日 15:45:22 +03:00

XRPM

A fast RPM to XBinary package converter with automatic dependency resolution.

Warning

Do NOT use on low system packages. This tool is designed for converting full application packages, not core system components. Using it on system packages may cause system instability. dont blame the script if system broken if you used and installed low system package.

not recommended to convert:

  • System Drivers
  • Program that would modify syskernel

where it useful:

  • some Browser

Quick Usage

xrpm [OPTIONS] FILE.rpm

Main Options

  • -d - Automatic dependency resolution
  • -S - Sync/create dependency table
  • -v, --verbose - Enable verbose output
  • --dry-run - Show what would be done (no changes)

Package Control

  • -q - Extract only, don't build package
  • -b - Build from existing destdir (skip extract)
  • -I - Auto-install after successful build
  • -R - Don't register in repository

Dependency Handling

  • -L - Enable lazy dependency matching
  • --deps=... - Add manual dependencies
  • --not-deps=... - Exclude specific dependencies

Conflict Handling

  • -f - Fix common file conflicts (default)
  • -F - Don't fix file conflicts
  • -i - Don't warn about conflicts

Cleanup

  • -c - Clean work directories
  • -C - Clean everything except deptable

Examples

xrpm -d package.rpm # Convert with auto deps
xrpm -dI package.rpm # Convert and install
xrpm --dry-run -d package.rpm # Preview changes

And what do when Package not matches?

Answer: try discover deps by yourself and use -D="required deps"