projects/xpack

xpack

Universal Linux Package Builder

v0.9.2BetaMIT
150+
GitHub Stars
5K+
Packages Built
12+
Distros Supported

A Go-based tool that converts binary executables into distributable Linux packages (.deb, .rpm, tar.gz). Automates native package creation for CI/CD pipelines with minimal configuration.

// Tech Stack

GoLinux PackagingDebianRPMCI/CD

// Key Features

📦

Multi-Format Support

Build .deb, .rpm, and tar.gz packages from single binary

🔄

CI/CD Ready

Integrate seamlessly with GitHub Actions, GitLab CI, Jenkins

📝

Minimal Config

Simple YAML configuration for complex package builds

🐧

Cross-Platform

Build packages for different Linux distributions

// Installation

bash
# Install using Go
go install github.com/nexoral/xpack@latest

# Or download from releases
wget https://github.com/nexoral/xpack/releases/latest/download/xpack-linux-amd64
chmod +x xpack-linux-amd64
sudo mv xpack-linux-amd64 /usr/local/bin/xpack

// Usage Example

code
# Create xpack.yaml configuration
cat > xpack.yaml << EOF
name: myapp
version: 1.0.0
arch: amd64
maintainer: you@example.com
description: My awesome application
binary: ./build/myapp
install_path: /usr/bin
EOF

# Build all package formats
xpack build --all

# Build specific format
xpack build --deb
xpack build --rpm

# Output packages
ls dist/
# myapp_1.0.0_amd64.deb
# myapp-1.0.0-1.x86_64.rpm
# myapp-1.0.0-linux-amd64.tar.gz

Ready to get started?

Check out the full documentation and examples on GitHub

View on GitHub →