From ArchWiki
Revision as of 08:05, 17 May 2018 by Larivact (talk | contribs) (rm empty line)
Jump to navigation Jump to search

The multilib repository is an official repository which allows the user to run and build 32-bit applications on 64-bit installations of Arch Linux.

Directory structure

With the multilib repository enabled, the 32-bit compatible libraries are located under /usr/lib32/.


To use the multilib repository, uncomment the [multilib] section in /etc/pacman.conf (Please be sure to uncomment both lines):

Include = /etc/pacman.d/mirrorlist

Then upgrade the system and install the desired multilib packages.

Tip: Run pacman -Sl multilib to list all packages in the multilib repository. 32-bit library package names begin with lib32-.


To revert to a pure 64-bit system:

Execute the following command to remove all packages that were installed from multilib:

# pacman -R $(paclist multilib | cut -f1 -d' ')

If you have conflicts with gcc-libs reinstall the gcc-libs package and the base-devel group.

Comment out the [multilib] section in /etc/pacman.conf:

#Include = /etc/pacman.d/mirrorlist

Then upgrade the system.

See also