Skip to content

INFO

Bu sayfa henüz çevrilmedi, İngilizce sürüm gösteriliyor. Çeviriye yardım edin.

Architecture ​

BlackArch is not a fork of Arch Linux. It is an unofficial pacman repository plus a set of ISO images, built and maintained by a small team of developers. Click through the explorer below, then read the details.

  1. L4Tools
  2. L3Category groups
  3. L2BlackArch repository
  4. L1Arch Linux

Tools

~2800+ packages, each a PKGBUILD under packages/<name> in the BlackArch repo.

pacman -S nmap

The big picture ​

How a tool reaches you

  1. UpstreamTool authorsource / release
  2. PackageMaintainerPKGBUILD
  3. Build & signDeveloper.pkg.tar.zst + .sig
  4. ReleaseBuild serverblackarch.db
  5. MirrorsMirror operatorsrsync copy
  6. Youpacmaninstalled tool

Your side of the journey

  1. 1. Add the repo
    curl -O https://blackarch.org/strap.sh && sudo ./strap.sh
  2. 2. Sync
    sudo pacman -Syu
  3. 3. Install a tool
    sudo pacman -S nmap

Layers ​

LayerWhat it is
ToolsIndividual packages; one packages/<name>/PKGBUILD each in the blackarch repo
Groupsblackarch (everything) and blackarch-<category> such as blackarch-webapp
Repositoryblackarch.db and packages served under blackarch.org/blackarch/blackarch/os/<arch>
KeyringThe blackarch-keyring package, which strap.sh fetches and verifies before trusting the repo
Arch Linuxcore, extra, multilib, pacman and the rolling base

Run strap.sh once on an Arch install and the repo is added; see Installation and Downloads.

Source repositories ​

RepoPurpose
blackarchPKGBUILDs (packages/), release lists (lists/), maintainer scripts (scripts/), mirror list (mirror/)
blackarch-pkgbuildsPKGBUILD templates
blackarch-isoarchiso profile layers and ISO build tooling
blackarch-installerThe official installer
blackarch-siteblackarch.org source, including strap.sh

How a package is built ​

  1. A maintainer writes a PKGBUILD, following the templates.
  2. babuild builds it in a clean chroot (wrapping Arch's archbuild and makechrootpkg) so missing build dependencies show up.
  3. The package is installed and run in a clean chroot, then on a full BlackArch system to detect file conflicts.
  4. basign creates detached GPG signatures.
  5. barelease uploads to the build server, holds a lock, and updates the repository database.

How mirrors stay in sync ​

Mirror operators run syncrepo. It fetches a small lastupdate file over HTTP and only runs rsync when the timestamp changed, which saves a large amount of bandwidth. See the mirror list.

How it stays updated ​

BlackArch is rolling release. Contributors open pull requests titled <pkgname>: <change>; accepted package names go into lists/to-release, and a developer with build-server access builds, signs and releases them. Helper scripts such as outdated, pkgver and pkgrel track and bump versions. Users receive updates with pacman -Syu.

How ISOs are assembled ​

The ISO is built with archiso. Layers are merged into a single profile: full = base + graphical + full, slim = base + graphical + slim, netinstall = base + netinstall. Later layers override same-path files and package lists are concatenated.

Sources

Drawn from the public blackarch, blackarch-iso and blackarch-site repositories (docs/HOWTO-DEV.md, scripts/, strap.sh). Internal details of the build server are not public, so this page stays at the level the repositories document. Corrections are welcome via the edit link below.