LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pkgctl

Arch Linux package maintainer toolset

TLDR

Authenticate with the Arch Linux GitLab instance
$ pkgctl auth login
copy
Build a package inside a clean chroot
$ pkgctl build
copy
Update the binary repository database after a release
$ pkgctl db update
copy
Compare the current package with the repository version
$ pkgctl diff
copy
Release a package to the binary repositories
$ pkgctl release
copy
Clone a packaging repository from GitLab
$ pkgctl repo clone [pkgbase]
copy
Display version information
$ pkgctl version
copy

SYNOPSIS

pkgctl [command] [options]

DESCRIPTION

pkgctl is the unified command-line interface for Arch Linux package maintainer tools. It consolidates various devtools commands into a single entry point, simplifying the workflow for building and releasing Arch packages.The tool integrates with Arch infrastructure including GitLab, the binary repositories, and the Arch Build System (ABS).

COMMANDS

auth

Authenticate with GitLab and other services
build
Build packages in clean chroot
db update
Update binary repository database
diff
Compare package files
release
Release build artifacts
repo
Manage Git packaging repositories
version
Display version information

CAVEATS

Intended for Arch package maintainers. Requires devtools package. Authentication needed for some operations. Understanding of PKGBUILD files required.

HISTORY

pkgctl was introduced as part of modernizing Arch Linux devtools. It provides a unified interface replacing scattered tools like archbuild, archrelease, and others, improving the package maintainer experience.

SEE ALSO

makepkg(8), pacman(8), devtools(7), asp(1), pkgctl-build(1)

Copied to clipboard
Kai