Difference between revisions of "Multilib"

From ArchWiki
Jump to: navigation, search
m (fix i18n)
m (change recommended command from -Sy to -Syy)
(10 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
[[Category:Arch64]]
 
[[Category:Arch64]]
 
[[Category:Package management]]
 
[[Category:Package management]]
{{i18n|Multilib}}
+
[[ja:Multilib]]
{{Stub|This article is not finished}}
+
[[ru:Multilib]]
Installing Multilib allows the user to run and build 32-bit applications on 64-bit distributions of Arch Linux. Multilib creates a directory containing 32-bit instruction set libraries inside the folder ''/lib32/'' which 32-bit binary applications may need when executed.
+
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 {{ic|/usr/lib32/}}, which 32-bit binary applications may need when executed.
  
To use the multilib [[repository]], add
+
To use the [[Official_Repositories#.5Bmultilib.5D|[multilib] repository]], uncomment the following from {{ic|/etc/pacman.conf}}:
  
 
  [multilib]
 
  [multilib]
 
  Include = /etc/pacman.d/mirrorlist
 
  Include = /etc/pacman.d/mirrorlist
  
to ''/etc/pacman.conf''.
+
You will then need to update the package list by running {{ic|pacman}} with the {{ic|-Syy}} switch.
  
 
== Directory structure ==
 
== Directory structure ==
  
A 64-bit version of Arch Linux with Multilib installed follows a directory structure similar to Debian. The 32-bit compatible libraries are located inside ''/usr/lib32/''
+
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 {{ic|/usr/lib32/}}, and the native 64-bit libraries under {{ic|/usr/lib/}}.
and the native 64-bit libraries are located inside ''/lib/'' and ''/usr/lib/''.
+
  
 
== See also ==
 
== See also ==

Revision as of 22:13, 5 April 2013

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]
Include = /etc/pacman.d/mirrorlist

You will then need to update the package list by running pacman with the -Syy 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