LinuxCommandLibrary

pacman.conf

configuration file for pacman, the Arch Linux package manager

TLDR

Enable multilib repository

$ [multilib]\nInclude = /etc/pacman.d/mirrorlist
copy
Set parallel downloads
$ ParallelDownloads = 5
copy
Enable color output
$ Color
copy
Add custom repository
$ [custom]\nServer = https://example.com/$repo/$arch
copy

SYNOPSIS

/etc/pacman.conf

DESCRIPTION

pacman.conf is the configuration file for pacman, the Arch Linux package manager. It defines repositories, signature checking, and various options.
The file uses INI-style sections with [options] for general settings and [reponame] for repositories.

PARAMETERS

[options]

General options section.
Color
Enable color output.
ParallelDownloads
Concurrent downloads.
CheckSpace
Check disk space.
SigLevel
Package signature level.
[repository]
Repository definition.
Include
Include mirror list.
Server
Direct server URL.

EXAMPLE CONFIG

$ [options]
HoldPkg = pacman glibc
Architecture = auto
Color
CheckSpace
ParallelDownloads = 5
SigLevel = Required DatabaseOptional

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

[multilib]
Include = /etc/pacman.d/mirrorlist
copy

CAVEATS

Repository order matters. Changes require pacman -Sy. Backup before editing.

SEE ALSO

pacman(8), makepkg(8), libalpm(3)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community