Difference between revisions of "Multilib"

From ArchWiki
Jump to: navigation, search
(reworded; added templates; fixed incorrect system paths; updated pacman.conf example for package signing)
Line 3: Line 3:
 
[[ru:Multilib]]
 
[[ru:Multilib]]
 
{{Stub|This article is not finished}}
 
{{Stub|This article is not finished}}
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 the folder {{ic|/lib/}}, which 32-bit binary applications may need when executed.
  
To use the multilib [[repository]], add
+
To use the [multilib] [[repository]], uncomment the following from {{ic|/etc/pacman.conf}}:
  
 
  [multilib]
 
  [multilib]
 +
SigLevel = PackageRequired
 
  Include = /etc/pacman.d/mirrorlist
 
  Include = /etc/pacman.d/mirrorlist
 
to ''/etc/pacman.conf''.
 
  
 
== 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 inside {{ic|/usr/lib32/}},
and the native 64-bit libraries are located inside ''/lib/'' and ''/usr/lib/''.
+
and the native 64-bit libraries are located inside {{ic|/lib64/}} and {{ic|/usr/lib/}}.
  
 
== See also ==
 
== See also ==

Revision as of 20:09, 15 June 2012

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: This article is not finished (Discuss in Talk:Multilib#)

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 the folder /lib/, 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

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 inside /usr/lib32/, and the native 64-bit libraries are located inside /lib64/ and /usr/lib/.

See also