Multilib - ArchWiki

# Multilib

Related articles

- Install bundled 32-bit system in Arch64

This article or section needs expansion.

Reason: No mention of multilib-devel (Discuss in Talk:Multilib#)

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/`.

## Enabling

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

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

Then upgrade the system.

## Disabling

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`:

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

Then upgrade the system.

## See also

- Makepkg#Build 32-bit packages on a 64-bit system
- 64-bit FAQ
- arch-multilib mailing list

Category:

- Package management

Hidden category:

- Pages or sections flagged with Template:Expansion