Difference between revisions of "Multilib"

From ArchWiki
Jump to: navigation, search
(not really a stub)
(Added step to populate the database file from multilib.)
Line 9: Line 9:
 
  SigLevel = PackageRequired
 
  SigLevel = PackageRequired
 
  Include = /etc/pacman.d/mirrorlist
 
  Include = /etc/pacman.d/mirrorlist
 +
 +
You will then need to update the package list by running {{ic|pacman}} with the {{ic|-y}} switch.
  
 
== Directory structure ==
 
== Directory structure ==

Revision as of 16:25, 7 November 2012

Enabling the [multilib] repository allows the user to run and build 32-bit applications on 64-bit installations of Arch Linux. [multilib] creates a directory containing 32-bit instruction set libraries inside /usr/lib32/, which 32-bit binary applications may need when executed.

To use the [multilib] repository, uncomment the following from /etc/pacman.conf:

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

You will then need to update the package list by running pacman with the -y switch.

Directory structure

A 64-bit installation of Arch Linux with [multilib] enabled follows a directory structure similar to Debian. The 32-bit compatible libraries are located under /usr/lib32/, and the native 64-bit libraries under /usr/lib/.

See also