Difference between revisions of "Multilib"

From ArchWiki
Jump to navigation Jump to search
(→‎Disabling: ''paclist'' needs {{pkg|pacman-contrib}} package, so change to command where that is not required)
(redirect to official repositories#multilib, merge complete)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Category:Package management]]
+
#redirect [[Official repositories#multilib]]
[[es:Multilib]]
 
[[ja:Multilib]]
 
[[pt:Multilib]]
 
[[ru:Multilib]]
 
[[zh-hans:Multilib]]
 
The ''multilib'' repository is an [[official repositories|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 {{ic|/usr/lib32/}}.
 
 
 
== Enabling ==
 
 
 
To use the [[Official repositories#multilib|multilib]] repository, uncomment the {{ic|[multilib]}} section in {{ic|/etc/pacman.conf}} (Please be sure to uncomment both lines):
 
 
 
[multilib]
 
Include = /etc/pacman.d/mirrorlist
 
 
 
Then [[upgrade]] the system and install the desired multilib packages.
 
 
 
{{Tip|Run {{ic|pacman -Sl multilib}} to list all packages in the ''multilib'' repository. 32-bit library package names begin with {{ic|lib32-}}.}}
 
 
 
== Disabling ==
 
 
 
To revert to a pure 64-bit system:
 
 
 
Execute the following command to remove all packages that were installed from ''multilib'':
 
 
 
# pacman -R $(comm -12 <(pacman -Qq | sort) <(pacman -Slq multilib | sort))
 
 
 
If you have conflicts with gcc-libs reinstall the {{pkg|gcc-libs}} package and the {{Grp|base-devel}} group.
 
 
 
Comment out the {{ic|[multilib]}} section in {{ic|/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]]
 
* [//mailman.archlinux.org/mailman/listinfo/arch-multilib arch-multilib] mailing list
 

Latest revision as of 16:05, 31 July 2018