LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

apt-ftparchive

Generate index files for APT repositories.

TLDR

Generate Packages file
$ apt-ftparchive packages [pool/] > [Packages]
copy
Generate Sources file
$ apt-ftparchive sources [pool/] > [Sources]
copy
Generate Release file
$ apt-ftparchive release [dists/stable] > [Release]
copy
Generate with configuration file
$ apt-ftparchive generate [config.conf]
copy

SYNOPSIS

apt-ftparchive [options] command [arguments]

DESCRIPTION

apt-ftparchive generates index files for APT repositories. It creates Packages, Sources, Contents, and Release files from a directory of .deb and .dsc files.This tool is essential for creating and maintaining local APT repositories or mirrors.

PARAMETERS

packages dir

Generate Packages file from directory
sources dir
Generate Sources file
contents dir
Generate Contents file
release dir
Generate Release file
generate config
Generate files per configuration
clean config
Clean up database files
-c file
Configuration file
-d db
Database directory
--md5, --sha1, --sha256, --sha512
Hash algorithms to generate

INSTALL

sudo apt install apt-utils
copy
sudo dnf install apt-utils
copy
sudo pacman -S apt
copy
sudo apk add apt
copy
brew install apt
copy
nix profile install nixpkgs#apt
copy

CAVEATS

Release files should be signed with gpg for secure repositories. Large repositories may take significant time to index. Database caching improves regeneration speed.

HISTORY

apt-ftparchive is part of APT, designed for repository maintainers to create the index files that APT clients use to find and download packages.

SEE ALSO

apt(8)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid